Re: My server sometimes goes deaf to certain hosts
- From: "Jo" <JoJoTwilligo@xxxxxxxxxxx>
- Date: 8 Jun 2006 12:47:24 -0700
davids@xxxxxxxxxxxxx wrote:
Jo wrote:
How does setting the blocking characteristics of pipes and Unix
sockets affect an IP socket set for listening?
If your program is blocked on a pipe or unix socket, it can't accept
new TCP connections because it won't call 'accept' until the blocking
operation returns.
If you write a select loop application, you must ensure that your
program absolutely cannot ever block except in cases where it's
acceptable to not do anything else.
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?
.
- Follow-Ups:
- Re: My server sometimes goes deaf to certain hosts
- From: davids
- Re: My server sometimes goes deaf to certain hosts
- From: davids
- Re: My server sometimes goes deaf to certain hosts
- 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
- My server sometimes goes deaf to certain hosts
- Prev by Date: Re: My server sometimes goes deaf to certain hosts
- Next by Date: Autopackage simplist Installer-maker solution for limited audience?
- 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
|