Hi,
The type of field fd_count is defined in winsock.h:
typedef unsigned int u_int;
So in the struct fd_set,
the field fd_count is unsigned int.
The pgwin32_select function has loops that use *int* as indices.
Question: in Windows, the socket select function isn't missing some events?
If not, It would be a good prevention practice, using the correct type,
right?
Patch attached.
best regards,
Ranier Vilela