non blocking socket.accept()

Zsolt Marx e9226414 at nospam.stud4.tuwien.ac.at
Mon Jun 17 15:45:05 CEST 2002


I far as I know socket.accept() waits for a client
to ask for a connection with the server.

This command seems to be blocking, though I would
like to limit the wait time onto a predefined interval
and to throw an error, if there is no connection.

How can I achieve this?

Zsolt Marx





More information about the Python-list mailing list