Return the number of connections in the given direction (inbound, outbound, or both).

Synopsis

Declared in <net.h>

[[requires_capability(0x7fb96f52fd40), requires_capability(0x7fb96edb7f50), requires_capability(0x7fb9675db390), requires_capability(0x7fb96b4f2a10), requires_capability(0x7fb95f2f3f10), requires_capability(0x7fb96d935210), requires_capability(0x7fb95f1f25e0), requires_capability(0x7fb95f7994f0), requires_capability(0x7fb964e15840), requires_capability(0x7fb96108b2c0), requires_capability(0x7fb96025dcd0)]]
size_t
GetNodeCount(ConnectionDirection direction) const;

Return Value

the number of connections matching the given direction.

Parameters

Name

Description

direction

the connection direction(s) to count.

Created with MrDocs