Fix bug: when a call to connect gets EINTR, one can't just restart the
authorChris Hanson <org/chris-hanson/cph>
Sun, 1 Oct 2000 02:18:55 +0000 (02:18 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sun, 1 Oct 2000 02:18:55 +0000 (02:18 +0000)
commitf546ebf47ce6239494137897c612791146bd775e
tree0e6d5feabcf96fb95645a8af10d657c876f8b4a6
parent43b652c58144f14554f5df45e2da05f72a2c5123
Fix bug: when a call to connect gets EINTR, one can't just restart the
connect, because it might be waiting for a packet from the other end
of the connection.  Instead, it's necessary to wait for the connect to
finish (using select), and then check the SO_ERROR option to see if it
succeeded or failed.
v7/src/microcode/uxsock.c