From c51d4acf1c2a8675a3bb043e799ff4390cef47d6 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Sat, 16 Aug 2003 00:06:04 +0000 Subject: Adjusted a few inconsistencies with the manual. --- samples/daytimeclnt.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples/daytimeclnt.lua') diff --git a/samples/daytimeclnt.lua b/samples/daytimeclnt.lua index 5064fff..29abe17 100644 --- a/samples/daytimeclnt.lua +++ b/samples/daytimeclnt.lua @@ -10,7 +10,7 @@ if arg then host = arg[1] or host port = arg[2] or port end -host = socket.toip(host) +host = socket.dns.toip(host) udp = socket.udp() print("Using host '" ..host.. "' and port " ..port.. "...") udp:setpeername(host, port) -- cgit v1.2.3-55-g6feb