Date: Fri, 17 Jan 2003 15:45:55 +0200 From: "Petri Helenius" <pete@he.iki.fi> To: <freebsd-net@freebsd.org> Subject: connect and EINTR Message-ID: <02e401c2be2e$c298c4c0$822a40c1@PHE>
next in thread | raw e-mail | index | archive | help
This is 4.7-STABLE built on 15 Jan. I have a nonblocking socket where connect is called. Due to timers also running in the same process, that eventually returns EINTR. However it seems that the socket is connected regardless since calling connect again will return EISCONN. This seems to be the "posix behaviour" and thus it might be that only the manpage is incomplete. Quote below: (which is missing from FreeBSD manpage) [EINTR] The attempt to establish a connection was interrupted by delivery of a signal that was caught; the connection will be established asynchronously. Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02e401c2be2e$c298c4c0$822a40c1>