STREAMS on a full duplex line

T J Leone leone at ohsu.edu
Sat Feb 2 10:33:17 AEST 1991


I'm using STREAMS to do ARQ data transfer over a full duplex serial line, so after I write to the line I have to check for an ACK.  But how do I know that my output buffer has cleared through my UART before I try to read?  Isn't there a danger that I will read back in some of the data I'm trying to send when I try to read the ACK?  If so, is there a way to handle this without writing a new device driver?

--tj

leone at ohsu3b2.ohsu.edu



More information about the Comp.unix.questions mailing list