mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-13 06:04:31 +02:00
Adjusted wsocket to match usocket. Adjusted windows projects.
This commit is contained in:
@ -6,7 +6,8 @@ if not server then print("server: " .. tostring(error)) os.exit() end
|
||||
ack = "\n"
|
||||
while 1 do
|
||||
print("server: waiting for client connection...");
|
||||
control = server:accept()
|
||||
control, error = server:accept()
|
||||
assert(control, error)
|
||||
-- control:setoption("nodelay", true)
|
||||
while 1 do
|
||||
command, error = control:receive()
|
||||
|
Reference in New Issue
Block a user