• Mart Lubbers's avatar
    fix timeout by checking the socket for errors · f7616a16
    Mart Lubbers authored
    In the old situation when the connect didn't immediately return, the
    socket was placed in a select.
    An error was throws only when the socket was in the exceptset. However,
    sockets are only in the exceptset in very particular cases (see man
    select). Unable to connect is not one of those cases.
    
    Therefore to actually check if a connection was refused, the error
    status must be checked with getsockopt.
    f7616a16
Name
Last commit
Last update
..
ArgEnvUnix Loading commit data...
ArgEnvWindows Loading commit data...
CarbonInterface Loading commit data...
CleanServer Loading commit data...
Directory Loading commit data...
Drup Loading commit data...
Email Loading commit data...
ExceptionsWindows Loading commit data...
ExtendedArith Loading commit data...
GEC Loading commit data...
GenLib Loading commit data...
Gerda Loading commit data...
Gtk Loading commit data...
Hilde Loading commit data...
Http Loading commit data...
MersenneTwister Loading commit data...
ObjectIO Loading commit data...
Parsers Loading commit data...
StdLib Loading commit data...
TCPIP Loading commit data...
WrapDebug Loading commit data...
graph_copy Loading commit data...
htmlGEC Loading commit data...
iolib Loading commit data...