Non blocking sockets with select.poll() ?

Jean-Paul Calderone exarkun at divmod.com
Fri May 4 07:21:37 EDT 2007


On Fri, 4 May 2007 13:04:41 +0300, Maxim Veksler <hq4ever at gmail.com> wrote:
>Hi,
>
>I'm trying to write a non blocking socket port listener based on
>poll() because select is limited to 1024 fd.
>
>Here is the code, it never gets to "I did not block" until I do a
>telnet connection to port 10000.
>

What were you expecting?

Jean-Paul



More information about the Python-list mailing list