Sockets/Sockets.cpp
bool Socket::shutDown()
{
  ::shutdown(socket_, SD_BOTH);
  if (socket_ != INVALID_SOCKET)
    return true;
  return false;

}
//----< tells receiver there will be no more sends or recvs >----------------
< tells receiver there will be no more sends or recvs >
< tells receiver there will be no more sends or recvs >
bool Socket::shutDown()
{
  ::shutdown(socket_, SD_BOTH);
  if (socket_ != INVALID_SOCKET)
    return true;
  return false;
}
bool Socket :: shutDown ( ) { :: shutdown ( socket_ , SD_BOTH ) ; if ( socket_ != INVALID_SOCKET ) return true ; return false ; }
< tells receiver there will be no more sends or recvs >
< tells receiver there will be no more sends or recvs >