maxConnectionsPerServer property

Retrieves the maximum number of concurrent connections to a Web server.

 

Syntax

HRESULT value = object.get_maxConnectionsPerServer(* p);

Property values

Type: long

the maximum number of concurrent connections.

6

Default value.

Remarks

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 6 on 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 2 if connected to an HTTP 1.1 server or 4 if 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.

See also

Connectivity Enhancements in Internet Explorer 8