operator==

Returns whether two addresses have equal time, service flags, and endpoint.

Synopsis

Declared in <protocol.h>

bool
operator==(
    CAddress const& a,
    CAddress const& b);

Return Value

true if both addresses have equal time, service flags, and endpoint.

Parameters

NameDescription
aThe left-hand address.
bThe right-hand address.