aboutsummaryrefslogtreecommitdiff
path: root/samples/daytimeclnt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'samples/daytimeclnt.lua')
-rw-r--r--samples/daytimeclnt.lua2
1 files changed, 1 insertions, 1 deletions
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
10 host = arg[1] or host 10 host = arg[1] or host
11 port = arg[2] or port 11 port = arg[2] or port
12end 12end
13host = socket.toip(host) 13host = socket.dns.toip(host)
14udp = socket.udp() 14udp = socket.udp()
15print("Using host '" ..host.. "' and port " ..port.. "...") 15print("Using host '" ..host.. "' and port " ..port.. "...")
16udp:setpeername(host, port) 16udp:setpeername(host, port)