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

Disconnect the peer(s) matching the given node string, 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(0x7f950f5ff6a8), requires&lowbar;capability(0x7f950ed87ed8), requires&lowbar;capability(0x7f950b490148), requires&lowbar;capability(0x7f95034d2d68), requires&lowbar;capability(0x7f950e210138), requires&lowbar;capability(0x7f9527747dd8), requires&lowbar;capability(0x7f950c324f68), requires&lowbar;capability(0x7f950c240b98), requires&lowbar;capability(0x7f95018ba348), requires&lowbar;capability(0x7f950bd921f8), requires&lowbar;capability(0x7f95065c98f8)&rsqb;&rsqb;
bool
DisconnectNode(std::string&lowbar;view node);
----

== Return Value

true if at least one peer was disconnected&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node*
| the host string identifying the peer(s) to disconnect&period;
|===


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