CInternetSession::GetHttpConnection

This method opens an HTTP server for an application that is trying to open a connection.

At a Glance

Header file: Afxinet.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

CHttpConnection* GetHttpConnection( LPCTSTR pstrServer,
INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER,
LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL );
Throw ( CInternetException );