Instance Property

port

The endpoint's port, represented as a string.

Declaration

var port: String { get }

Discussion

Since the port is represented as a string, it is always represented in host byte order. If converting between byte fields and strings, make sure to use host byte ordering.

See Also

Getting Endpoint Properties

var hostname: String

The endpoint's hostname.