socket_close
lpc4/lib/doc/efun/socket_close · 473 B
From the archive lpc4.05.14.tar.gz
Download the archive « Back to the archive contents
NAME socket_close - close a socket SYNOPSIS #include <socket.h> #include <socket_errors.h> int socket_close(int s) DESCRIPTION socket_close() closes socket s. This frees a socket efun slot for use. RETURN VALUES socket_close() returns: EESUCCESS on success. a negative value indicated below on error. ERRORS EEFDRANGE Descriptor out of range. EEBADF Descriptor is invalid. EESECURITY Security violation attempted. SEE ALSO socket_accept, socket_create