|
|
HP 9000 Networking: BSD Sockets Interface Programmer's Guide > Chapter 3 Advanced Topics for Stream SocketsUsing 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. |
|