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

Synopsis

Declared in <protocol.h>

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

This function is a hidden friend of CAddress, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

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

Parameters

Name

Description

a

The left‐hand address.

b

The right‐hand address.

Created with MrDocs