HP Rp3440-4 - 9000 - 0 MB RAM Programmer's Manual page 149

Bsd sockets interface programmer’s guide
Hide thumbs Also See for Rp3440-4 - 9000 - 0 MB RAM:
Table of Contents

Advertisement

Table 7-1
Exchanging Data Between UNIX Domain Datagram Sockets
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
Client
System
Process
Call Used
Activity
create a socket
socket()
bind a socket
bind()
send message
sendto()
or
sendmsg()
receive
recvfrom()
message
or
recvmsg()
Using UNIX Domain Datagram Sockets
Server Process
Activity
create a socket
bind a socket
receive message
send message
Overview
System Call
Used
socket()
bind()
recvfrom()
or recvmsg()
sendto() or
sendmsg()
149

Advertisement

Table of Contents
loading

Table of Contents