Fill a sockaddr structure with this service's address and port.

Synopsis

Declared in <netaddress.h>

bool
GetSockAddr(
    sockaddr* paddr,
    socklen_t* addrlen) const;

Return Value

True when the structure was populated.

Parameters

Name

Description

paddr

Destination sockaddr structure to populate.

addrlen

In/out length of the sockaddr structure in bytes.

Created with MrDocs