Disconnect all peers within the given subnet, returning whether any matched.

Synopsis

Declared in <net.h>

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