From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,82a31269c491c68,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 2002-10-18 13:29:14 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: slippymississippi@yahoo.com (Son of Spam) Newsgroups: comp.unix.osf.osf1 Subject: recv results in ENOENT on TruUnix 5.1 Date: 18 Oct 2002 13:29:14 -0700 Organization: http://groups.google.com/ Message-ID: <12d2e797.0210181229.5d04ae8a@posting.google.com> NNTP-Posting-Host: 205.229.142.209 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1034972954 26934 127.0.0.1 (18 Oct 2002 20:29:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 18 Oct 2002 20:29:14 GMT Xref: archiver1.google.com comp.unix.osf.osf1:145 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?