Compartir a través de


CUrl::SetHostName

Call this method to set the host name.

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

Reference

CUrl Class

CUrl::GetHostName