[#CConnman-DisconnectNode-0d] = xref:CConnman.adoc[CConnman]::DisconnectNode :relfileprefix: ../ :mrdocs: Disconnect the peer(s) matching the given node string, returning whether any matched. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e2b749ca8), requires_capability(0x7f2e289429b8), requires_capability(0x7f2e234d1b98), requires_capability(0x7f2e2737e338), requires_capability(0x7f2e235ef9c8), requires_capability(0x7f2e2a34bab8), requires_capability(0x7f2e219f8888), requires_capability(0x7f2e21c83748), requires_capability(0x7f2e1aa362a8), requires_capability(0x7f2e376b8388), requires_capability(0x7f2e433cdf18)]] bool DisconnectNode(std::string_view node); ---- == Return Value true if at least one peer was disconnected. == Parameters [cols="1,4"] |=== | Name| Description | *node* | the host string identifying the peer(s) to disconnect. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#