On Thu, Mar 08, 2001 at 10:38:17AM -0500, Wietse Venema wrote: > If the result of connect() write() close() depends on whether > accept() happens after or before close(), then the behavior is > broken. The client has received a successful return from write() > and close(). The system is not supposed to lose the data, period. What you seem to be missing here is that the behavior described above is ONLY specific to UNIX-DOMAIN sockets. The description above is generally (but not always) true for the TCP/IP protocol. Data CAN be lost if the TCP connection is RST. It has nothing to do with the ordering of accept() with respect to close(). -- Jonathan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Jonathan Lemon
- RE: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Jonathan Lemon
- RE: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Jonathan Graehl
- RE: [itojun@iijlab.net: accept(2) behavior with tcp ... Jonathan Graehl
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... Alfred Perlstein
- Re: [itojun@iijlab.net: accept(2) behavior with tcp ... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST r... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp ... Jonathan Lemon