Disconnect the peer(s) matching the given node string, returning whether any matched.
Synopsis
Declared in <net.h>
[[requires_capability(0x7fb96f52ffc8), requires_capability(0x7fb96edb81d8), requires_capability(0x7fb9675db618), requires_capability(0x7fb96b4f2c98), requires_capability(0x7fb95f2f4198), requires_capability(0x7fb96d935498), requires_capability(0x7fb95f1f2868), requires_capability(0x7fb95f799778), requires_capability(0x7fb964e15ac8), requires_capability(0x7fb96108b548), requires_capability(0x7fb96025df58)]]
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