O'Reilly logo

UNIX® System V Network Programming by Stephen A. Rago

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required