[#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(0x7f2e2b749f28), requires&lowbar;capability(0x7f2e28942c38), requires&lowbar;capability(0x7f2e234d1e18), requires&lowbar;capability(0x7f2e2737e5b8), requires&lowbar;capability(0x7f2e235efc48), requires&lowbar;capability(0x7f2e2a34bd38), requires&lowbar;capability(0x7f2e219f8b08), requires&lowbar;capability(0x7f2e21c839c8), requires&lowbar;capability(0x7f2e1aa36528), requires&lowbar;capability(0x7f2e376b8608), requires&lowbar;capability(0x7f2e433ce198)&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]#
