lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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