CConnman::GetNodeCount

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

Synopsis

Declared in <net.h>

size_t
GetNodeCount(ConnectionDirection direction) const;

Return Value

the number of connections matching the given direction.

Parameters

NameDescription
directionthe connection direction(s) to count.