[#CConnman-DisconnectNode-04] = xref:CConnman.adoc[CConnman]::DisconnectNode :relfileprefix: ../ :mrdocs: Disconnect all peers within the given subnet, returning whether any matched. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool DisconnectNode(xref:CSubNet.adoc[CSubNet] const& subnet); ---- == Return Value true if at least one peer was disconnected. == Parameters [cols="1,4"] |=== | Name| Description | *subnet* | the subnet whose peers should be disconnected. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#