Hi,

are there know issues with select() when build for MinGW ?

Code is basically:

FD_ZERO(&fdset);
FD_SET(fd, &fdset);

rd = &fdset;
wr = &fdset;

select (fd + 1, rd, wr, NULL, NULL);


Select() always immediately comes back with 0, WSAGetLastError() return
6 (WSA_INVALID_HANDLE). fd is a valid socket descriptor (value 5 in my
last test).

Currently discussed here:
https://gitlab.com/gnuwget/wget2/issues/212

I appreciate any help.


With Best Regards, Tim


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to