CAddress::CAddress

Constructs an address from a service endpoint and its advertised service flags.

Synopsis

Declared in <protocol.h>

CAddress(
    CService ipIn,
    ServiceFlags nServicesIn);

Parameters

NameDescription
ipInThe service endpoint (network address and port).
nServicesInThe advertised service flags for this address.