andrew.markebo at telelogic.com
Mon Nov 6 13:48:04 CET 2000
Are you looking for a module that does DNS lookups, or you don't want
the sockets to block when you connect to an address??
Set the socket to nonblocking before you do the connect,
except socket.error, why:
# I am not sure these are raised or not, but they are OK..
if not code in (EINPROGRESS, EALREADY, EWOULDBLOCK):
raise ERROR, why
More information about the Python-list