.\"return a text description of a socket error .DT socket_error Discworld driver help socket_error Name .SI 5 socket_error() - return a text description of a socket error .EI Synopsis .SI 5 .EI #include <socket.h> #include <socket_errors.h> string socket_error(int error) Description .SP 5 5 socket_error() returns a string describing the error signified by error. .EP Return values .SI 5 socket_error() returns: a string describing the error on success. "socket_error: invalid error number" on bad input. .EI See also .SI 5 socket_create(3), socket_connect(3) .EI