Re: Disonnecting a TCP listening socket
- From: Rick Jones <rick.jones2@xxxxxx>
- Date: Fri, 19 Sep 2008 18:41:35 +0000 (UTC)
true801@xxxxxxxxx wrote:
If a server program wants to stop accepting client connections, it
just has to close() the listening socket. By doing this, it also
discards the connections that are established, but that accept()
hasn't returned yet.
My question therefore is : is it possible to tell the OS to stop
accepting incoming connection requests, and still getting the
connections that are already established and waiting in the queue ?
Might look into what happens to existing connections when you set the
backlog to a very small number. It may not close the window entirely,
but it may close it just enough. Or it may behave just like close()
against the listen endpoint...
rick jones
--
Wisdom Teeth are impacted, people are affected by the effects of events.
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.
- Follow-Ups:
- Re: Disonnecting a TCP listening socket
- From: true801
- Re: Disonnecting a TCP listening socket
- References:
- Disonnecting a TCP listening socket
- From: true801
- Disonnecting a TCP listening socket
- Prev by Date: Re: Disonnecting a TCP listening socket
- Next by Date: Re: Possible attack?
- Previous by thread: Re: Disonnecting a TCP listening socket
- Next by thread: Re: Disonnecting a TCP listening socket
- Index(es):
Relevant Pages
|