friendlier networking + adding tabs

This commit is contained in:
kepler155c@gmail.com
2017-10-09 13:08:38 -04:00
parent f5b99d91e5
commit 05c99b583a
7 changed files with 124 additions and 40 deletions

View File

@@ -23,10 +23,10 @@ if not remoteId then
end
print('connecting...')
local socket = Socket.connect(remoteId, 23)
local socket, msg = Socket.connect(remoteId, 23)
if not socket then
error('Unable to connect to ' .. remoteId .. ' on port 23')
error(msg)
end
local ct = Util.shallowCopy(term.current())