Construct a service from a network address and port.

Synopsis

Declared in <netaddress.h>

CService(
    CNetAddr const& ip,
    uint16_t port);

Parameters

Name

Description

ip

The network address of the service.

port

The TCP port in host byte order.

Created with MrDocs