Construct a service from an IPv4 address and port.

Synopsis

Declared in <netaddress.h>

CService(
    in_addr const& ipv4Addr,
    uint16_t port);

Parameters

Name

Description

ipv4Addr

The IPv4 address of the service.

port

The TCP port in host byte order.

Created with MrDocs