rv = soclose((int) osfd ); if (rv < 0) _PR_MD_MAP_SOCKET_ERROR(sock_errno());
rv = soclose(osfd); if (rv == -1) { err = sock_errno(); _PR_MD_MAP_CLOSE_ERROR(err); }
_MD_CloseSocket(PRInt32 osfd){    PRInt32 rv = -1;    rv = soclose((int) osfd );    if (rv < 0)        _PR_MD_MAP_SOCKET_ERROR(sock_errno());    return rv;}