Re: Select not seeing a readable fd on a listening socket
- From: malc@xxxxxxxxxxxxx
- Date: Wed, 31 Oct 2007 01:05:29 +0300
Joe <joe.rutledge@xxxxxxxxx> writes:
On Oct 30, 10:19 am, Joe <joe.rutle...@xxxxxxxxx> wrote:
Hi, I have a weird problem that I've been getting nowhere with for
quite some time and was hoping this might be the place to point me in
the right direction?
[..snip..]
I should have mentioned that on the server in the failure case the
call to socket() returns 0, which seems odd as I don't close the stdin/
out/err file descriptors. On the rare occasions it returns an fd > 0
the system works.
"I don't close the stdin..." does this mean that you willingly don't
close them? If so have you verified[1] that something doesn't do this
by mistake?
[1] Via strace-ing or setting a breakpoint on calls to close
--
mailto:av1474@xxxxxxxx
.
- References:
- Prev by Date: Re: Select not seeing a readable fd on a listening socket
- Next by Date: Re: Select not seeing a readable fd on a listening socket
- Previous by thread: Re: Select not seeing a readable fd on a listening socket
- Next by thread: Re: Select not seeing a readable fd on a listening socket
- Index(es):
Relevant Pages
|
Loading