Message138075
> 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. |
|
Date |
User |
Action |
Args |
2011-06-10 11:47:16 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, pitrou, vstinner, neologix |
2011-06-10 11:47:16 | amaury.forgeotdarc | set | messageid: <1307706436.72.0.858919606166.issue12287@psf.upfronthosting.co.za> |
2011-06-10 11:47:16 | amaury.forgeotdarc | link | issue12287 messages |
2011-06-10 11:47:15 | amaury.forgeotdarc | create | |
|