Kernel Service Subroutines

This section lists different kernel service subroutines.

Item Description
accept Accepts a connection on a socket to create a new socket.
bind Binds a name to a socket.
connect Connects two sockets.
getdomainname Gets the name of the current domain.
gethostid Gets the unique identifier of the current host.
gethostname Gets the unique name of the current host.
getpeername Gets the name of the peer socket.
getsockname Gets the socket name.
getsockopt Gets options on sockets.
listen Listens for socket connections and limits the backlog of incoming connections.
recv Receives messages from connected sockets.
recvfrom Receives messages from sockets.
recvmsg Receives a message from any socket.
send Sends messages from a connected socket.
sendmsg Sends a message from a socket by using a message structure.
sendto Sends messages through a socket.
send_file Sends the contents of a file through a socket.
setdomainname Sets the name of the current domain.
sethostid Sets the unique identifier of the current host.
sethostname Sets the unique name of the current host.
setsockopt Sets socket options.
shutdown Shuts down all socket send and receive operations.
socket Creates an end point for communication and returns a descriptor.
socketpair Creates a pair of connected sockets.