Disconnect all peers within the given subnet, returning whether any matched.
Synopsis
Declared in <net.h>
[[requires_capability(0x7fbc935facf8), requires_capability(0x7fbc93361908), requires_capability(0x7fbc8742ad88), requires_capability(0x7fbc97460968), requires_capability(0x7fbc8e97caa8), requires_capability(0x7fbc859fde18), requires_capability(0x7fbc90e3b278), requires_capability(0x7fbc8ec363a8), requires_capability(0x7fbc92aee868), requires_capability(0x7fbc7cdb00d8), requires_capability(0x7fbc9fc8c278)]]
bool
DisconnectNode(CSubNet const& subnet);
Return Value
true if at least one peer was disconnected.
Parameters
Name |
Description |
subnet |
the subnet whose peers should be disconnected. |
Created with MrDocs