Edit

Share via


SocketsHttpHandler.MaxConnectionsPerServer Property

Definition

Gets or sets the maximum number of simultaneous TCP connections allowed to a single server.

public:
 property int MaxConnectionsPerServer { int get(); void set(int value); };
public int MaxConnectionsPerServer { get; set; }
member this.MaxConnectionsPerServer : int with get, set
Public Property MaxConnectionsPerServer As Integer

Property Value

The maximum number of simultaneous TCP connections allowed to a single server.

Remarks

In this context, server means a unique combination of

  • IDN host name (as used in the request URI)
  • Port
  • Value of the Host HTTP header (if present, e.g. when HTTPS is used)
  • URI of the HTTP Proxy (if proxy is used).

Applies to