HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 149
Table 7-1, Exchanging Data Between UNIX Domain Datagram Sockets, Client, Process, Activity, System,
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 149 highlights
Table 7-1 Using UNIX Domain Datagram Sockets Overview Exchanging Data Between UNIX Domain Datagram Sockets Client Process Activity create a socket bind a socket send message receive message System Call Used Server Process Activity socket() bind() sendto() or sendmsg() create a socket bind a socket 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 and includes: • What happens when the system call is used. • When to make the call. • What the parameters do. • Where to find details on the system call. The domain datagram sockets programming examples are at the end of these descriptive sections. You can refer to the example code as you work through the descriptions. Chapter 7 149