From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,82a31269c491c68 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 2002-10-23 23:40:54 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: olle.bjorck@hp.com (oLLe) Newsgroups: comp.unix.osf.osf1 Subject: Re: recv results in ENOENT on TruUnix 5.1 Date: 23 Oct 2002 23:40:53 -0700 Organization: http://groups.google.com/ Message-ID: References: <12d2e797.0210181229.5d04ae8a@posting.google.com> NNTP-Posting-Host: 192.6.111.74 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1035441654 27373 127.0.0.1 (24 Oct 2002 06:40:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Oct 2002 06:40:54 GMT Xref: archiver1.google.com comp.unix.osf.osf1:147 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.