From: Tad <ecos_removethispart@ds3switch.com>
To: eCos Disuss <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] listen (x, 0) on new TCP incoming connections doesn't stop select()/accept()
Date: Tue, 12 Jun 2007 16:08:00 -0000 [thread overview]
Message-ID: <466E9166.7070506@ds3switch.com> (raw)
In-Reply-To: <20070612034851.GJ26816@lunn.ch>
FWIW, as far as I can tell, and not fully understanding the internals of
listen():
It appears that attempting to stop accepting incoming TCP connections by
setting listen (x, backlog=0) (after an initial listen (x, >0) if it's
relevant) doesn't stop incoming TCP SYN connection requests from being
ACK'd and appearing in select() and accept(). Thought that should have.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2007-06-12 11:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-11 23:15 [ECOS] Re: accept() FreeBSD hangs when out of resources Tad
2007-06-12 3:51 ` Andrew Lunn
2007-06-12 3:57 ` Tad
2007-06-12 6:54 ` Andrew Lunn
2007-06-12 15:37 ` Tad
2007-06-12 15:49 ` Lars Povlsen
2007-06-12 16:08 ` Tad [this message]
2007-06-12 4:05 ` [ECOS] " Tad
2007-06-12 11:06 ` Andrew Lunn
2007-06-12 11:19 ` Andrew Lunn
[not found] ` <466F2FC7.8060704@ds3switch.com>
2007-06-13 0:09 ` [ECOS] "Fix" for atHTTP and HTTP socket requirements with mozilla POSTS Tad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=466E9166.7070506@ds3switch.com \
--to=ecos_removethispart@ds3switch.com \
--cc=ecos-discuss@ecos.sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).