Closer to release...

This commit is contained in:
Diego Nehab 2003-03-28 21:08:50 +00:00
parent 307603b24d
commit f18d1b7cd0
31 changed files with 163 additions and 77 deletions

View file

@ -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...");