[#CConnman-DisconnectNode-01] = xref:CConnman.adoc[CConnman]::DisconnectNode :relfileprefix: ../ :mrdocs: Disconnect all peers at the given address, returning whether any matched. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f950f5ff928), requires_capability(0x7f950ed88158), requires_capability(0x7f950b4903c8), requires_capability(0x7f95034d2fe8), requires_capability(0x7f950e2103b8), requires_capability(0x7f9527748058), requires_capability(0x7f950c3251e8), requires_capability(0x7f950c240e18), requires_capability(0x7f95018ba5c8), requires_capability(0x7f950bd92478), requires_capability(0x7f95065c9b78)]] bool DisconnectNode(xref:CNetAddr.adoc[CNetAddr] const& addr); ---- == Return Value true if at least one peer was disconnected. == Parameters [cols="1,4"] |=== | Name| Description | *addr* | the address whose peers should be disconnected. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#