The value returned by accept
is a new socket number
assigned, appropriately enough, to new_socket_number
. In server
programs that open sockets with multiple clients, listen
and
accept
use the original socket, identified by the value of
socket_number
, as a template for the construction of sockets
that are actually connected to clients.