TCPIP_HTTP_ActiveConnectionCountGet Function

C

int TCPIP_HTTP_ActiveConnectionCountGet(
    int* pOpenCount
);

Description

This function will return the number of active and total HTTP connections at the current time.

Preconditions

None.

Parameters

ParametersDescription
pOpenCountAddress to store the number of total opened connections. Could be NULL if not needed.

Returns

  • The number of active and total connections.

Remarks

The value returned by this function is informational only. The number of active connections changes dynamically.

Example

int nConns;

nConns = TCPIP_HTTP_ActiveConnectionCountGet(0);