[#CConnman-GetNodeCount] = xref:CConnman.adoc[CConnman]::GetNodeCount :relfileprefix: ../ :mrdocs: Return the number of connections in the given direction (inbound, outbound, or both). == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[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(xref:ConnectionDirection.adoc[ConnectionDirection] direction) const; ---- == Return Value the number of connections matching the given direction. == Parameters [cols="1,4"] |=== | Name| Description | *direction* | the connection direction(s) to count. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#