This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, neologix, pitrou, vstinner
Date 2011-06-10.11:47:15
SpamBayes Score 0.0004595858
Marked as misclassified No
Message-id <1307706436.72.0.858919606166.issue12287@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2011-06-10 11:47:16amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, pitrou, vstinner, neologix
2011-06-10 11:47:16amaury.forgeotdarcsetmessageid: <1307706436.72.0.858919606166.issue12287@psf.upfronthosting.co.za>
2011-06-10 11:47:16amaury.forgeotdarclinkissue12287 messages
2011-06-10 11:47:15amaury.forgeotdarccreate