CUrl::SetHostName

 

Call this method to set the host name.

Syntax

      inline BOOL SetHostName(
   LPCTSTR lpszHost 
) throw( );

Parameters

  • lpszHost
    The host name.

Return Value

Returns TRUE on success, FALSE on failure.

Requirements

Header: atlutil.h

See Also

CUrl Class
CUrl::GetHostName