* recv results in ENOENT on TruUnix 5.1
@ 2002-10-18 20:29 Son of Spam
2002-10-24 6:40 ` oLLe
2002-10-24 6:45 ` oLLe
0 siblings, 2 replies; 3+ messages in thread
From: Son of Spam @ 2002-10-18 20:29 UTC (permalink / raw)
I am using recv to read data over a very unstable network connection
between here and Mexico. Occasionally, I observe recv return with -1,
and errno is set to ENOENT, which is not included in the possible
errno values in the recv man page. Does anyone know what might cause
this?
I also noticed that whoever wrote the code tears down the old
conversation and attempts to accept a new one, but fails to check if
accept returns a -1 before populating the write fd. Isn't it logical
to assume that whatever network wackiness is generating ENOENT on recv
is probably generating a similar problem with accept?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: recv results in ENOENT on TruUnix 5.1
2002-10-18 20:29 recv results in ENOENT on TruUnix 5.1 Son of Spam
@ 2002-10-24 6:40 ` oLLe
2002-10-24 6:45 ` oLLe
1 sibling, 0 replies; 3+ messages in thread
From: oLLe @ 2002-10-24 6:40 UTC (permalink / raw)
slippymississippi@yahoo.com (Son of Spam) wrote in message news:<12d2e797.0210181229.5d04ae8a@posting.google.com>...
> I am using recv to read data over a very unstable network connection
> between here and Mexico. Occasionally, I observe recv return with -1,
> and errno is set to ENOENT, which is not included in the possible
> errno values in the recv man page. Does anyone know what might cause
> this?
>
> I also noticed that whoever wrote the code tears down the old
> conversation and attempts to accept a new one, but fails to check if
> accept returns a -1 before populating the write fd. Isn't it logical
> to assume that whatever network wackiness is generating ENOENT on recv
> is probably generating a similar problem with accept?
If you do an more on /usr/include/errno.h, you can see that ENOENT
means no such file or directory.
Maby this helps a bit.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: recv results in ENOENT on TruUnix 5.1
2002-10-18 20:29 recv results in ENOENT on TruUnix 5.1 Son of Spam
2002-10-24 6:40 ` oLLe
@ 2002-10-24 6:45 ` oLLe
1 sibling, 0 replies; 3+ messages in thread
From: oLLe @ 2002-10-24 6:45 UTC (permalink / raw)
man errno also gives a good expaination about ENOENT and other system calls.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-24 6:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-18 20:29 recv results in ENOENT on TruUnix 5.1 Son of Spam
2002-10-24 6:40 ` oLLe
2002-10-24 6:45 ` oLLe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox