Call this method to get the port number.
inline ATL_URL_PORT GetPortNumber( ) const throw( );
Returns the port number.
CUrl Overview | Class Members | CUrl::SetPortNumber