From 2b11e2bde90ef42de22b7e2ae78cd1da134b4565 Mon Sep 17 00:00:00 2001
From: Diego Nehab
@@ -112,7 +112,7 @@ host OS requires for network access (Windows requires ws2_32.lib, for instance). LuaSocket is initialized in the Lua state given as the argument to the function luaopen_socket, the only C function exported by the library. -After initialization, the scripts are free to use all LuaSocket API. +After initialization, scripts are free to use all of the LuaSocket API.
@@ -289,7 +289,7 @@ error message. host = "localhost" -- change here to the host you want to contact port = port or 13 -- convert host name to ip address -ip, err = socket.toip(host) +ip, err = socket.dns.toip(host) assert(ip, err) -- create a new UDP object udp = socket.udp() -- cgit v1.2.3-55-g6feb