NAME
socket_error() - return a text description of a socket error
SYNOPSIS
#include
#include
string socket_error(int error)
DESCRIPTION
socket_error() returns a string describing the error signified by error.
RETURN VALUES
socket_error() returns:
- a string describing the error on success.
- "socket_error: invalid error number" on bad input.
SEE ALSO
socket_create(3)
, socket_connect(3)