With regard to LINUX accept() returning benign error results other than the usual suspects (EAGAIN or EINTR), Todor Tuparov asked: > Is there a solution? > Very simple question. I understand that with LINUX 2.1.x the accept() call will not wake up before the TCP three-way handshake is complete. But for now, it is up to the programmer to deal with benign error returns such as: ECONNREFUSED, ECONNRESET, EHOSTDOWN, EHOSTUNREACH, ENETDOWN, ENETUNREACH, ENOTCONN, and to treat them just like EAGAIN. Wietse
This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:22:31 PDT