From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199801141433.OAA25346@winksmith.com> Date: Wed, 14 Jan 1998 11:00:23 -0500 From: Uncle George Subject: Re: accept()/TCP bug thank you, too much cut & paste seemed to have cut off a missing > pardon, but, it would seem from stevens, vol II, pg 524, "listen socket has queued connection" should have been detected in the select(fd,... for "reading". it appears that the SIGIO is initiated before the connection is complete, and appears to also be sent before the skb buffers are "queued" ( tcp_input.c:tcp_conn_request() ). It also appears from the similar code of accept(), it will also fail ( if non-blocked) under these SIGIO conditions. Would this not be a fair statement, and if so, what would it take to have SIGIO signals in sync with queued connections, but not yet accept()'ed ( ie when ack_backlog++ is appropriate). > > > > adescriptor which I have listen()'d on for years. Wright/Stevens show that > > > > select() for READ will detect 'listen socket has queued connection' (many > > > > different UNIXs' man pages show this for select() or poll()). -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com