[#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(0x7f2e2b749a20), requires_capability(0x7f2e28942730), requires_capability(0x7f2e234d1910), requires_capability(0x7f2e2737e0b0), requires_capability(0x7f2e235ef740), requires_capability(0x7f2e2a34b830), requires_capability(0x7f2e219f8600), requires_capability(0x7f2e21c834c0), requires_capability(0x7f2e1aa36020), requires_capability(0x7f2e376b8100), requires_capability(0x7f2e433cdc90)]] 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]#