Instance Property

receivePort

The port on which the receiver receives incoming network messages.

Declaration

@property(readonly, retain) NSPort *receivePort;

Discussion

You can inspect this object for debugging purposes or use it to create another NSConnection object, but shouldn’t use it to send or receive messages explicitly. Don’t set the delegate of the receive port; it already has a delegate established by the NSConnection object.

See Also

Getting Ports

sendPort

The port that the connection sends outgoing network messages through.

Deprecated
- dispatchWithComponents:

Allows subclasses to ask a connection object to dispatch component data.

Deprecated