Do the platform-specific call needed to close a socket returned from socket() or accept().
@param sock The socket to be closed @return 0 on success, -1 on failure
See Implementation
Do the platform-specific call needed to close a socket returned from socket() or accept().
@param sock The socket to be closed @return 0 on success, -1 on failure