[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: DNS library for Lua
- From: Sean Conner <sean@...>
- Date: Tue, 7 Dec 2010 13:09:26 -0500
It was thus said that the Great Valerio Schiavoni once stated:
> Hello Sean,
>
> very interesting. Do you think this library can be used to replace the
> default LuaSocket's socket.dns to make a non-blocking version out of it ?
I don't see why not. Just open a port to your DNS server (UDP port 53),
add said socket to the select pool, send the encoded query, and wait for
the reply however you want.
-spc