Do platform-specific operations as needed to close a socket upon a successful execution of one of the exec*() functions.
@param sock The socket to be closed @return 0 on success, -1 on failure
See Implementation
Do platform-specific operations as needed to close a socket upon a successful execution of one of the exec*() functions.
@param sock The socket to be closed @return 0 on success, -1 on failure