HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 87
Table 4-1, Exchanging Data Between Internet Datagram Sockets, Client, Process, Activity, System,
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 87 highlights
Table 4-1 Using Internet Datagram Sockets Overview Exchanging Data Between Internet Datagram Sockets Client Process Activity create a socket bind a socket address send message receive message System Call Used Server Process Activity socket() bind() sendto() or sendmsg() create a socket bind a socket address receive message send message recvfrom() or recvmsg() System Call Used socket() bind() recvfrom() or recvmsg() sendto() or sendmsg() 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 datagram 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 4 87