HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 125
Client, Process, Activity, System, Call Used, Server Process, System Call
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 125 highlights
Using UNIX Domain Stream Sockets Overview Client Process Activity receive data disconnect socket (optional) System Call Used Server Process Activity System Call Used send data read() or recv() shutdown() disconnect socket or close() (optional) write() or send() shutdown() or close() Each of these steps or activities is described in more detail in the following sections. The description of each activity specifies a system call and includes: • What happens when the system call is used. • When to make the call. • What the parameters do. • How the call interacts with other BSD Sockets system calls. • Where to find details on the system call. The UNIX Domain stream socket program examples are at the end of these descriptive sections. You can refer to the example code as you work through the descriptions. Chapter 6 125