socket_close(3) LPC Library Functions socket_close(3) NNAAMMEE socket_close() - close a socket SSYYNNOOPPSSIISS #include <socket_err.h> int socket_close( int s ); DDEESSCCRRIIPPTTIIOONN socket_close() closes socket s. This frees a socket efun slot for use. RREETTUURRNN VVAALLUUEESS socket_close() returns: EESUCCESS on success. a negative value indicated below on error. EERRRROORRSS EEFDRANGE Descriptor out of range. EEBADF Descriptor is invalid. EESECURITY Security violation attempted. SSEEEE AALLSSOO socket_accept(3), socket_create(3) MudOS 5 Sep 1994 1