NSSocketPort is a subclass of
NSPort that represents a BSD socket. An
NSSocketPort object can be used as an endpoint for distributed object connections. Companion classes,
NSMessagePort, allow for local (on the same machine) communication only. The
NSSocketPort class allows for both local and remote communication, but may be more expensive than the others for the local case.
- macOS 10.10+