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