[Python-Dev] DNS lookups with timeouts ?

Guido van Rossum guido@python.org
Sat, 11 Nov 2000 13:15:52 -0500


> I know of the Demo/dns/, but I'm unsure whether it can be
> tweaked to allow timeouts.

Hm, typically the protocol used is UDP, and it's easy to set timeouts
there: just use select on the socket.

--Guido van Rossum (home page: http://www.python.org/~guido/)