Disconnect the peer(s) matching the given node string, returning whether any matched.
Synopsis
Declared in <net.h>
bool
DisconnectNode(std::string_view node);
Return Value
true if at least one peer was disconnected.
Parameters
Name |
Description |
node |
the host string identifying the peer(s) to disconnect. |
Created with MrDocs