11. STREAMS Modules
STREAMS modules are similar to STREAMS drivers, so many of the techniques described in the last chapter are also applicable to writing STREAMS modules. This chapter describes how to write STREAMS modules and contrasts them with drivers. The terminal interface is also discussed as a prelude to the major example in the chapter: a terminal emulation module for networks.
11.1. Introduction
STREAMS modules are similar to drivers, but instead of copying data between the host computer and peripheral devices, modules usually only perform intermediate transformations on the messages passing through a stream. Some modules modify the data in the messages they are passed, while other modules only perform translations between one service ...
Get UNIX® System V Network Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.