diff options
author | Emil Renner Berthing <esmil@mailme.dk> | 2012-12-12 23:37:34 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@mailme.dk> | 2012-12-17 10:11:06 +0100 |
commit | ccd4ec76f226acda8843f60d5230f7f8db876074 (patch) | |
tree | 4963f7dab5881c8e02e20f7719625492666deeda /test | |
parent | a252badcc741bf4e30677cd746f7792106c80dcd (diff) | |
download | lem-ccd4ec76f226acda8843f60d5230f7f8db876074.tar.gz lem-ccd4ec76f226acda8843f60d5230f7f8db876074.tar.xz lem-ccd4ec76f226acda8843f60d5230f7f8db876074.zip |
io: lookup host names without blocking
Diffstat (limited to 'test')
-rwxr-xr-x | test/ctest.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ctest.lua b/test/ctest.lua index 399fd3a..ceebebe 100755 --- a/test/ctest.lua +++ b/test/ctest.lua @@ -22,7 +22,7 @@ print('Entered ' .. arg[0]) local utils = require 'lem.utils' local io = require 'lem.io' -local conn = assert(io.tcp_connect('127.0.0.1', arg[1] or 8080)) +local conn = assert(io.tcp_connect('localhost', arg[1] or 8080)) for i = 1, 10 do assert(conn:write('ping\n')) |