bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

select() issue in MinGW build


From: Tim Rühsen
Subject: select() issue in MinGW build
Date: Thu, 18 May 2017 17:12:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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

[Prev in Thread] Current Thread [Next in Thread]