Skip to main content

socket_error

Discworld driver help

socket_error

Name

socket_error() - return a text description of a socket error

Synopsis

#include <socket_errors.h>

string socket_error( int error );

Description

socket_error() returns a string describing the error signified by `error'. socket_error() returns a string describing the error on success, and "socket_error: invalid error number" on bad input.

See also

socket_create(), socket_connect()