Sockets/Sockets.cpp
bool Socket::shutDownRecv()
{
  ::shutdown(socket_, SD_RECEIVE);
  if (socket_ != INVALID_SOCKET)
    return true;
  return false;
}
//----< tells receiver this socket won't call receive anymore >--------------
< tells receiver this socket won't call receive anymore >
< tells receiver this socket won ' t call receive anymore >
bool Socket::shutDownRecv()
{
  ::shutdown(socket_, SD_RECEIVE);
  if (socket_ != INVALID_SOCKET)
    return true;
  return false;
}
bool Socket :: shutDownRecv ( ) { :: shutdown ( socket_ , SD_RECEIVE ) ; if ( socket_ != INVALID_SOCKET ) return true ; return false ; }
< tells receiver this socket won't call receive anymore >
< tells receiver this socket won ' t call receive anymore >