Table of Contents
(SSC) - Socket system calls

(SSC) - Socket system calls

Intro
introduction to socket system calls and error numbers

accept
accept a connection on a socket

bind
bind a name to a socket

connect
initiate a connection on a socket

getpeername
get name of connected peer

getsockname
get socket name

getsockopt
get options on sockets

getsockopt, setsockopt
get and set options on sockets

listen
listen for connections on a socket

recv
receive a message from a connected socket

recv, recvfrom, recvmsg
receive a message from a socket

recvfrom
receive a message from a socket

recvmsg
receive a message from a socket

send
send a message to a connected socket

send, sendto, sendmsg
send a message to a socket

sendmsg
send a message to a socket

sendto
send a message to a socket

setregid
set real and effective group IDs

setreuid
set real and effective user IDs

setsockopt
set options on sockets

shutdown
shut down part of a full-duplex connection

socket
create an endpoint for communication

socketpair
create a pair of connected sockets