Rendezvous, Distributed Objects, Port selection, IP/OOP asymmetry
Rendezvous, Distributed Objects, Port selection, IP/OOP asymmetry
- Subject: Rendezvous, Distributed Objects, Port selection, IP/OOP asymmetry
- From: Stuart Halloway <email@hidden>
- Date: Wed, 28 Jan 2004 00:01:30 -0500
I have gotten Rendezvous + Distributed Objects working ... almost. :-)
On the server I create an NSConnection, passing the same NSSocketPort
for both sender and receiver.
On the client I create an NSConnection, passing a nil receiver and a
server NSSocketPort that I create using initRemoteWithTCPPort with the
information pulled from Rendezvous.
So far so good, and this works fine when the client and server are
separate processes. When both are in the same process, I get -[NSProxy
doesNotRecognizeSelector:ping:] when I try to invoke a method (here
ping:) on the proxy.
Two questions:
1. Is there another idiom for creating the sockets that will work
symmetrically in and out of process?
2. If not, is there a preferred way for dealing separately with the
in-process case?
Regards,
Stuart Halloway
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.