Disconnect all peers at the given address, returning whether any matched.

Synopsis

Declared in <net.h>

bool
DisconnectNode(CNetAddr const& addr);

Return Value

true if at least one peer was disconnected.

Parameters

Name

Description

addr

the address whose peers should be disconnected.

Created with MrDocs