Address.toPortString

Attempts to retrieve the numeric port number as a string.

class Address
const
string
toPortString
()

Throws

AddressException on failure, or SocketFeatureException if port number retrieval for this address family is not available on the current system.

Meta

Suggestion Box / Bug Report