[#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(0x7fb96f530248), requires_capability(0x7fb96edb8458), requires_capability(0x7fb9675db898), requires_capability(0x7fb96b4f2f18), requires_capability(0x7fb95f2f4418), requires_capability(0x7fb96d935718), requires_capability(0x7fb95f1f2ae8), requires_capability(0x7fb95f7999f8), requires_capability(0x7fb964e15d48), requires_capability(0x7fb96108b7c8), requires_capability(0x7fb96025e1d8)]] 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]#