Instance Property

port

The endpoint's port, represented as a string.

Declaration

@property(readonly) NSString *port;

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

hostname

The endpoint's hostname.