Fri, 12 Feb 2010 15:02:57 +0000
net.dns: Update for new socket API
net/dns.lua | file | annotate | diff | comparison | revisions |
--- a/net/dns.lua Fri Feb 12 12:47:23 2010 +0000 +++ b/net/dns.lua Fri Feb 12 15:02:57 2010 +0000 @@ -723,7 +723,7 @@ for i,sock in pairs(rset) do if self.socketset[sock] then - local packet = sock.receive(); + local packet = sock:receive(); if packet then response = self:decode(packet); if response and self.active[response.header.id]