• Bruno Jesus's avatar
    ws2_32: Handle SO_ERROR manually in getsockopt(). · 71c60d15
    Bruno Jesus authored
    As soon as SO_ERROR is read from getsockopt it is reset in the kernel,
    when attempting a non-blocking connection the wine server reads
    SO_ERROR first so when the application tries to read the value it will
    end with zero.
    71c60d15
socket.c 252 KB