Construct a service from an IPv4 socket address.

Synopsis

Declared in <netaddress.h>

explicit
CService(sockaddr_in const& addr);

Parameters

Name

Description

addr

The IPv4 socket address to read the address and port from.

Created with MrDocs