Share via


CUrl::SetPortNumber

 

Call this method to set the port number.

Syntax

      inline BOOL SetPortNumber(
   ATL_URL_PORT nPrt 
) throw( );

Parameters

  • nPrt
    The port number.

Return Value

Returns TRUE on success, FALSE on failure.

Requirements

Header: atlutil.h

See Also

CUrl Class
CUrl::GetPortNumber
ATL_URL_PORT