CUrl::SetPortNumber

Call this method to set the port number.

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

Reference

CUrl Class

CUrl::GetPortNumber

ATL_URL_PORT