socket_close
skylib_fluffos_v3/mudlib/doc/driver/efuns/sockets/socket_close · 641 B
From the archive skylib_fluffos_v3.zip
Download the archive « Back to the archive contents
.\"close a socket .DT socket_close $MUDNAME$ driver help socket_close .SH Name .SI 5 socket_close() - close a socket .EI .SH Synopsis .SI 5 #include <socket_errors.h> int socket_close( int s ); .EI .SH Description .SP 5 5 socket_close() closes socket `s'. This frees a socket efun slot for use. socket_close() returns EESUCCESS on success, and a negative value indicated below on error. .EP .SH Errors .SI 5 These errors are in <socket_errors.h>: .EI .SO 10 15 45 EEFDRANGE Descriptor out of range. EEBADF Descriptor is invalid. EESECURITY Security violation attempted. .EO .SH See also .SI 5 socket_accept(), socket_create() .EI