STREAMS query
Douglas H. Price
dhp at ihnp3.UUCP
Tue Oct 8 06:35:34 AEST 1985
The modality of STREAMs does not preclude datagram services. STREAMs are
useful as a way for a UNIX process to view a communications device and
a (possibly) associated set of protocols in a device-independent manner.
Let me give you a for-instance:
Lets say you implement a STREAM module that simply guarantees that any
block of data you give it will be transmitted immediately with no guarantee
of safe arrival. This would be a send-and-pray datagram service, even though
it was implemented in STREAMs. Lets add a guaranteed end-to-end delivery
service STREAM module, stacked on top of the send-and-pray service. Now
we have a fast-select datagram service. Further; lets stack a sequencing and
non-duplication service STREAM module on top of the fast-select service.
Voila, we have a basic virtual circuit.
There is no requirement that STREAMs must implement a virtual circuit.
That is merely the service that has been discussed most frequently. Note
also that STREAMs permit a bottom-up definition of just the grade of service
that the application requires. You don't have to buy the whole nine yards
if you don't want or need it.
--
Douglas H. Price
Analysts International Corp.
@ AT&T Bell Laboratories
..!ihnp4!ihnp3!dhp
More information about the Comp.unix.wizards
mailing list