InetServerInit Example for C++ 5.0 and later

void CNet::Method(short iServer)
{
   // initialize port 1000 to wait for connections
   m_pRasterInet->InetServerInit( 1000);
   iServer = m_pRasterInet->GetInetServerHandle();
}