diff options
author | Diego Nehab <diego@impa.br> | 2015-08-22 19:52:01 -0300 |
---|---|---|
committer | Diego Nehab <diego@impa.br> | 2015-08-22 19:52:01 -0300 |
commit | 96965b179c7311f850f72a8629b9ba6d3a31d117 (patch) | |
tree | 05c93629654f686a99ee8923ef2361b7d2244ca8 /test/testsrvr.lua | |
parent | b211838648c1cb092e96e3ae721932a212808d96 (diff) | |
download | luasocket-96965b179c7311f850f72a8629b9ba6d3a31d117.tar.gz luasocket-96965b179c7311f850f72a8629b9ba6d3a31d117.tar.bz2 luasocket-96965b179c7311f850f72a8629b9ba6d3a31d117.zip |
New agnostic IPv4 IPv6 functions.
Also dealing with EPROTOTYPE Yosemite seems to be throwing
at us for no reason.
Diffstat (limited to 'test/testsrvr.lua')
-rw-r--r-- | test/testsrvr.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsrvr.lua b/test/testsrvr.lua index 72b93ab..1eb2d5b 100644 --- a/test/testsrvr.lua +++ b/test/testsrvr.lua | |||
@@ -6,7 +6,7 @@ ack = "\n"; | |||
6 | while 1 do | 6 | while 1 do |
7 | print("server: waiting for client connection..."); | 7 | print("server: waiting for client connection..."); |
8 | control = assert(server:accept()); | 8 | control = assert(server:accept()); |
9 | while 1 do | 9 | while 1 do |
10 | command, emsg = control:receive(); | 10 | command, emsg = control:receive(); |
11 | if emsg == "closed" then | 11 | if emsg == "closed" then |
12 | control:close() | 12 | control:close() |