CService::CService

Construct a service from a network address and port.

Synopsis

Declared in <netaddress.h>

CService(
    CNetAddr const& ip,
    uint16_t port);

Parameters

NameDescription
ipThe network address of the service.
portThe TCP port in host byte order.