Retrieves the maximum number of concurrent connections to a Web server.
HRESULT IHTMLWindow6::get_maxConnectionsPerServer(long *p);
- Pointer to a variable of type long that receives the maximum number of concurrent connections.
Returns S_OK if successful, or an error value otherwise.
The maximum number of connections per server returned by the IHTMLWindow6::maxConnectionsPerServer property is determined by the HTTP version (1.0 or 1.1) used by the server. This number applies to any Web server connection, not just to downloads.
The IHTMLWindow6::maxConnectionsPerServer attribute will return
6on a broadband connection unless a user or an administrator has overridden the default settings. If the client computer is connected through dial-up, IHTMLWindow6::maxConnectionsPerServer will return
2if connected to an HTTP 1.1 server or
4if connected to an HTTP 1.0 server.
To learn how to change the connection limits from their default values, see Connectivity Enhancements in Internet Explorer 8.