<<On Mon, 12 Feb 2001 18:31:33 -0800 (PST), Archie Cobbs <[EMAIL PROTECTED]> said: > ISTR at one time you would instead get the actual sockaddr of the > just-closed socket, rather than a bogus sockaddr... and that is the > behavior one would expect. As itojun pointed out, accept() used to just block if the socket it thought it was going to give you turned out not to be there at the last moment. This was a killer for applications which expected return from select() to be a reliable indicator of connections waiting. I think the proposed fix is the best one we can get right now. Restructuring the TCP code to handle this case doesn't make a whole lot of sense to me (or apparently to itojun or jlemon either). -GAWollman 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 t... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with t... Archie Cobbs
- Re: [itojun@iijlab.net: accept(2) behavior with t... Kris Kennaway
- Re: [itojun@iijlab.net: accept(2) behavior with t... Archie Cobbs
- Re: [itojun@iijlab.net: accept(2) behavior with t... Archie Cobbs
- Re: [itojun@iijlab.net: accept(2) behavior with t... Archie Cobbs
- Re: [itojun@iijlab.net: accept(2) behavior w... Jun-ichiro itojun Hagino
- Re: [itojun@iijlab.net: accept(2) behavior with t... Archie Cobbs
- Re: [itojun@iijlab.net: accept(2) behavior w... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with t... Garrett Wollman
- Re: [itojun@iijlab.net: accept(2) behavior w... Archie Cobbs
- Re: [itojun@iijlab.net: accept(2) behavior with t... Wietse Venema
- Re: [itojun@iijlab.net: accept(2) behavior with t... Wietse Venema
- Re: [itojun@iijlab.net: accept(2) behavior with t... Wietse Venema
- Re: [itojun@iijlab.net: accept(2) behavior with t... Wietse Venema
- Re: [itojun@iijlab.net: accept(2) behavior w... Barney Wolff