• Max Kellermann's avatar
    system/EventPipe: fix WSAEINPROGRESS on Windows · b177bffa
    Max Kellermann authored
    Apparently, connecting a socket to a loopback address can block on
    Windows, and a non-blocking socket will return WSAEINPROGRESS.  This
    broken PoorSocketPair() in commit 2119e4fd, which made the socket
    non-blocking right from the start.  This fix postpones the
    ioctlsocket(FIONBIO) call until after the connect().
    
    Closes #134
    b177bffa
Name
Last commit
Last update
..
ByteOrder.hxx Loading commit data...
Clock.cxx Loading commit data...
Clock.hxx Loading commit data...
EPollFD.cxx Loading commit data...
EPollFD.hxx Loading commit data...
Error.hxx Loading commit data...
EventFD.cxx Loading commit data...
EventFD.hxx Loading commit data...
EventPipe.cxx Loading commit data...
EventPipe.hxx Loading commit data...
FatalError.cxx Loading commit data...
FatalError.hxx Loading commit data...
FileDescriptor.cxx Loading commit data...
FileDescriptor.hxx Loading commit data...
PeriodClock.hxx Loading commit data...
SignalFD.cxx Loading commit data...
SignalFD.hxx Loading commit data...
UniqueFileDescriptor.hxx Loading commit data...