tcp.countConnections

Syntax tcp.countConnections ()

Params None.

Action Determine the number of incoming and outgoing TCP connections.

Returns A number.

Examples tcp.countConnections ()

   » 2

Notes This verb is new in Frontier 7.

Also new in Frontier 7 is system.environment.maxTcpConnections, which specifies the maximum number of TCP connections. Though Frontier does not limit the number of connections, Radio does. You can get the number of available TCP connections this way: system.environment.maxTcpConnections - tcp.countConnections ().

See Also Frontier.countThreads

Discuss