Address.toServiceNameString

string toServiceNameString() const

Attempts to retrieve the service name as a string.

Throws

AddressException on failure, or SocketFeatureException

if service name lookup for this address family is not available on the current system.