共用方式為


CInternetConnection Class

Manages your connection to an Internet server.

class CInternetConnection : public CObject

Remarks

It is the base class for MFC classes CFtpConnection, CHttpConnection, and CGopherConnection. Each of these classes provides additional functionality for communicating with the respective FTP, HTTP, or gopher server.

To communicate directly with an Internet server, you must have a CInternetSession object and a CInternetConnection object.

To learn more about how the WinInet classes work, see the article Internet Programming with WinInet.

Requirements

Header: afxinet.h

See Also

Concepts

CInternetConnection Members

CObject Class

Hierarchy Chart