From the NannyMUD documentation

LAST CHANGE

2001-10-02

FUNCTION


NAME

        socket_close - Close a socket.

SYNTAX

        #include 
        #include 

        int socket_close(int s)

DESCRIPTION

        socket_close() closes socket s. This frees a socket efun
	slot for use.

	RETURN VALUE
        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 in efun/socket/socket_accept

SEE ALSO

        socket_create in efun/socket/socket_create
        socket_create in efun/socket/socket_create