Address.toAddrString

string toAddrString() const

Attempts to retrieve the host address as a human-readable string.

Throws

AddressException on failure, or SocketFeatureException

if address retrieval for this address family is not available on the current system.