Using Read And Write To Make Stream Sockets Transparent - HP Rp3440-4 - 9000 - 0 MB RAM Programmer's Manual

Bsd sockets interface programmer’s guide
Hide thumbs Also See for Rp3440-4 - 9000 - 0 MB RAM:
Table of Contents

Advertisement

Advanced Topics for Stream Sockets

Using Read and Write to Make Stream Sockets Transparent

Using Read and Write to Make Stream
Sockets Transparent
An example application of read and write with stream sockets is to fork
a command with a socket descriptor as stdout. The peer process can
read input from the command. The command can be any command and
does not have to know that stdout is a socket. It might use printf,
which results in the use of write. Thus, the stream sockets are
transparent.
80
Chapter 3

Advertisement

Table of Contents
loading

Table of Contents