Instance Property


The endpoint's port, represented as a string.


@property(readonly) NSString *port;


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


The endpoint's hostname.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software