home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!am815
- From: am815@cleveland.Freenet.Edu (Joel Peter Anderson)
- Newsgroups: comp.unix.wizards
- Subject: Re: STREAMS M_ERROR Message problem
- Date: 4 Sep 1992 17:38:28 GMT
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- Lines: 29
- Message-ID: <1886ulINNsqj@usenet.INS.CWRU.Edu>
- References: <gram.715600291@aim1> <Btou5D.6DH@flatlin.ka.sub.org> <1992Aug26.130739.19300@usenet.ins.cwru.edu> <1992Aug31.144154.21347@usenet.ins.cwru.edu>
- Reply-To: am815@cleveland.Freenet.Edu (Joel Peter Anderson)
- NNTP-Posting-Host: slc5.ins.cwru.edu
-
-
- In a previous article, gram@aim1.aztec.co.za (Graham Wheeler) says:
-
- >am815@cleveland.Freenet.Edu (Joel Peter Anderson) writes:
- >
- >>succeed. If a byte is set to 0, the error state is cleared for the
- >>corresponding side of theStream. The values NOERROR and 0 are not
- >>valid for the one-byte form of the M_ERROR message."
- >
- >Have you tried using 0 instead on NOERROR? Maybe an error condition has
- >occurred anyway, and using NOERROR does not change anything.
- >
-
- Good idea, but, sorry, no dice. After we experienced this problem I wrote
- a dumb little device driver that allows you to send any two bytes up the
- stream as an M_ERROR message. I have tried all permutations and 1)can get
- errors registered on either or both sides 2) get errors on the read side
- only. As soon as I send any M_ERROR skyward all reads fail. If NOERROR or
- zero is sent, errno reads as EAGAIN.(?) Otherwise, if I send an error
- value, that value is put in errno.
-
- Any other thoughts?
-
-
- --
- -------------------------------------------------------------------------
- joela@apertus.mn.org |Freenet: am815@cleveland.freenet.edu
- Joel Peter Anderson |PNET: jpa@pnet51.orbit.mn.org
- Apertus Technologies |GEnie:J.ANDERSON71
-