[#CConnman-DisconnectNode-01]
= xref:CConnman.adoc[CConnman]::DisconnectNode
:relfileprefix: ../
:mrdocs:

Disconnect all peers at the given address, returning whether any matched&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f950f5ff928), requires&lowbar;capability(0x7f950ed88158), requires&lowbar;capability(0x7f950b4903c8), requires&lowbar;capability(0x7f95034d2fe8), requires&lowbar;capability(0x7f950e2103b8), requires&lowbar;capability(0x7f9527748058), requires&lowbar;capability(0x7f950c3251e8), requires&lowbar;capability(0x7f950c240e18), requires&lowbar;capability(0x7f95018ba5c8), requires&lowbar;capability(0x7f950bd92478), requires&lowbar;capability(0x7f95065c9b78)&rsqb;&rsqb;
bool
DisconnectNode(xref:CNetAddr.adoc[CNetAddr] const& addr);
----

== Return Value

true if at least one peer was disconnected&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *addr*
| the address whose peers should be disconnected&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
