InetServerClose Example for C++ 5.0 and later

void CNet::Method(short iServer)
{
   // shutdown server on exit
   m_pRasterInet->InetServerClose(iServer);
}