Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

> I don't understand if socket file descriptors are different than
> (classic) file descriptors.

On Windows, sockets are completely independent from file descriptors.

A socket id can be large (typically over 1000), fortunately a fd_set is not 
indexed by descriptors; FD_SET just appends the socket descriptor to the array; 
there is a limit of 64 sockets, but no limit on the value of a descriptor.

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12287>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to