Closer to release...
This commit is contained in:
parent
307603b24d
commit
f18d1b7cd0
31 changed files with 163 additions and 77 deletions
|
@ -1,7 +1,7 @@
|
|||
HOST = HOST or "localhost"
|
||||
PORT = PORT or "8080"
|
||||
host = host or "localhost"
|
||||
port = port or "8080"
|
||||
|
||||
server, error = socket.bind(HOST, PORT)
|
||||
server, error = socket.bind(host, port)
|
||||
if not server then print("server: " .. tostring(error)) os.exit() end
|
||||
while 1 do
|
||||
print("server: waiting for client connection...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue