Re: Disonnecting a TCP listening socket
- From: true801@xxxxxxxxx
- Date: Fri, 19 Sep 2008 12:29:21 -0700 (PDT)
On 19 sep, 20:41, Rick Jones <rick.jon...@xxxxxx> wrote:
true...@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...
How do you modify the backlog of existing connections ?
Jean-Luc
.
- Follow-Ups:
- Re: Disonnecting a TCP listening socket
- From: Rick Jones
- Re: Disonnecting a TCP listening socket
- References:
- Disonnecting a TCP listening socket
- From: true801
- Re: Disonnecting a TCP listening socket
- From: Rick Jones
- Disonnecting a TCP listening socket
- Prev by Date: Re: Disonnecting a TCP listening socket
- Next by Date: Re: Disonnecting a TCP listening socket
- Previous by thread: Re: Disonnecting a TCP listening socket
- Next by thread: Re: Disonnecting a TCP listening socket
- Index(es):
Relevant Pages
|