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.