[#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"] ---- 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]#