[#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(0x7ff36f782180), requires_capability(0x7ff36f4689f0), requires_capability(0x7ff37f407fb0), requires_capability(0x7ff377564d80), requires_capability(0x7ff37b6a0280), requires_capability(0x7ff37e1c7eb0), requires_capability(0x7ff379a7e400), requires_capability(0x7ff36f4a5440), requires_capability(0x7ff37bc160a0), requires_capability(0x7ff3814a6070), requires_capability(0x7ff3666cd0f0)]] 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]#