CService::CService

Construct a service from an IPv6 address and port.

Synopsis

Declared in <netaddress.h>

CService(
    in6_addr const& ipv6Addr,
    uint16_t port);

Parameters

NameDescription
ipv6AddrThe IPv6 address of the service.
portThe TCP port in host byte order.