home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sdd.hp.com!spool.mu.edu!yale.edu!jvnc.net!rutgers!modus!dyna!osra!felix!eb
- From: eb@felix.Sublink.Org (Enrico Badella)
- Newsgroups: comp.unix.sysv386
- Subject: What is the meaning of EPROTO (Protocol error) on select()?
- Message-ID: <849@felix.Sublink.Org>
- Date: 11 Sep 92 18:04:43 GMT
- Organization: Soft*Star s.r.l, Torino, Italy
- Lines: 30
-
- Hi,
-
- As the Subject line states I'm trying to find a meaning of EPROTO
- Protocol error (errno = 71) that bites me at random times on
- a select().
- My environment is SCO-ODT 1.1 and my application simply reads/writes
- from 2 different TCP/IP sockets and sets a timeout. After reading
- some data it posts it on a message queue and returns on the select().
-
- I reported the problem to SCO and got the following answer:
-
- begin quote
- "EPROTO Protocolo error: Some protocol error occured. This error is device
- specific, but is generally not related to a hardware failure. An EPROTO
- error can come from any device that is serviced by ioctl(S) calls. You
- must debug the code to determine what call is causing the problem"
- end quote
-
- The first part is extracted from their manuals.
- My code never calls a ioctl(2) but does TCP/IP activity.
- The last sentece was a revelation to me! I though code would self repair.
-
- Thanks to for any suggestions ... maybe I should also thank sco for
- giving me a daily set of new problems so I'll never become lazy.
-
- --
- Enrico Badella Internet: eb@felix.sublink.org
- Soft*Star s.r.l. eb@icnucevx.cnuce.cnr.it
- Via Camburzano 9 Phone: +39-11-746092
- 10143 Torino, ITALY Fax: +39-11-746487
-