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

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

Advertisement

Client
Process
Call Used
Activity
receive data
read() or
recv()
disconnect
shutdown()
socket
or close()
(optional)
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
System
Server Process
Activity
send data
disconnect socket
(optional)
Using UNIX Domain Stream Sockets
Overview
System Call
Used
write() or
send()
shutdown()
or close()
125

Advertisement

Table of Contents
loading

Table of Contents