Summary Tables For System And Library Calls - HP Rp3440-4 - 9000 - 0 MB RAM Programmer's Manual

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

Advertisement

Summary Tables for System and Library
Calls
The following table contains a summary of the BSD Sockets system calls.
Table 8-1
BSD Sockets System Calls
Chapter 8
System Call
Creates a socket, or communication endpoint for the
socket
calling process.
Assigns a socket address to the socket specified by
bind
the calling process.
Sets up a queue for incoming connection requests.
listen
(Stream sockets only.)
For stream sockets, requests and creates a
connect
connection between the remote socket (specified by
address) and the socket (specified by descriptor) of
the calling process. For datagram sockets,
permanently specifies the remote peer socket.
Receives a connection between the socket of the
accept
calling process and the socket specified in the
associated connect call. (Stream sockets only.)
Sends data from the specified socket.
send,
sendto,
sendmsg
Receives data at the specified socket.
recv,
recvfrom,
recvmsg
Disconnects the specified socket.
shutdown

Summary Tables for System and Library Calls

Description
Programming Hints
173

Advertisement

Table of Contents
loading

Table of Contents