1.2.3.1.52 TCPIP_TCP_SocketsNumberGet Function

C

int TCPIP_TCP_SocketsNumberGet();

Description

This function returns the number of created TCP sockets. This is the maximum number of sockets that can be opened at any moment as it's been passed as parameter when TCP module was created.

Preconditions

TCP properly initialized.

Returns

The number of TCP sockets.