Closed carlo-bramini closed 11 months ago
Thanks for the PR, though there are 2 issues:
!defined
into not defined
or use #ifndef
?I did the changes that you suggested to me, thank you. Now the CI seems to be fine, except the MAC test that it still hangs, but it doesn't seem to be related to this PR.
Yes, we still need to work on the macOS CI :grin: Thanks for fixing, I will merge that.
Winsock provides an opaque
SOCKET
type for handling sockets and thenfds
parameter ofselect()
is ignored but kept for compatibity with BSD standard. Expecting to handle sockets by not assuming to be anint
type, this could cause a complain from MSVC when compiling for 64bit for Windows because incompatible types, so it would be better to just ignore this and just leavenfds
to zero for the future. See also here: https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-select