HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 80
Using Read and Write to Make Stream, Sockets Transparent
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 80 highlights
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
80
Chapter 3
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.