Re: My server sometimes goes deaf to certain hosts
- From: davids@xxxxxxxxxxxxx
- Date: 9 Jun 2006 23:18:17 -0700
Jo wrote:
Ok, so you are saying that the listening process might be blocking
on one of the other sockets, thereby delaying the call to accept(). So
why does the client get connection refused, when the number of hosts
attempting to connect (1 or 2) does not exceed the backlog on the
listening socket?
The client should not ever get connection refused unless the number of
half-open connections exceeds the allowed backlog (which may not have
anything to do with the number you passed in 'listen') or the server
closed the listening port. If you get 'connection refused', either:
1) You didn't specify as large a backlog as you think you did.
2) The system didn't honor your backlog for some reason.
3) The server accidentally closed the listening port.
4) Something strange is going on with the path between the server and
the client, like a firewall or NAT application that thinks it
understands your protocol but really doesn't.
Maybe your server accidentally closed the socket it was listening on?
DS
.
- References:
- My server sometimes goes deaf to certain hosts
- From: Jo
- Re: My server sometimes goes deaf to certain hosts
- From: davids
- Re: My server sometimes goes deaf to certain hosts
- From: Jo
- Re: My server sometimes goes deaf to certain hosts
- From: davids
- Re: My server sometimes goes deaf to certain hosts
- From: Jo
- Re: My server sometimes goes deaf to certain hosts
- From: davids
- Re: My server sometimes goes deaf to certain hosts
- From: Jo
- My server sometimes goes deaf to certain hosts
- Prev by Date: Autopackage simplist Installer-maker solution for limited audience?
- Next by Date: Re: My server sometimes goes deaf to certain hosts
- Previous by thread: Re: My server sometimes goes deaf to certain hosts
- Next by thread: Re: My server sometimes goes deaf to certain hosts
- Index(es):
Relevant Pages
|