CInternetConnection::GetServerName

Call this member function to get the name of the server associated with this Internet connection.

CString GetServerName( ) const;

Return Value

The name of the server this connection object is working with.

Requirements

Header: afxinet.h

See Also

Reference

CInternetConnection Class

Hierarchy Chart

CInternetSession Class

CGopherConnection Class

CFtpConnection Class

CHttpConnection Class

Other Resources

CInternetConnection Members