Re: cocoa-dev digest, Vol 2 #1346 - 16 msgs
Re: cocoa-dev digest, Vol 2 #1346 - 16 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #1346 - 16 msgs
- From: email@hidden
- Date: Mon, 7 Oct 2002 22:46:56 -0400
Message: 3
Date: Mon, 7 Oct 2002 11:18:26 -0700
Subject: How do i Distribute Objects to Two Cocoa Applications
From: Guy Winslow <email@hidden>
To: Cocoa <email@hidden>
I need to Create a server or damain that supplies Object services for
Two (2) applications. Is there a mechanism in cocoa or is one of the
examples in the Dev folder something i should be looking at.
Specifically i need to Share a Class to both Applications. Has anyone
dune this, how should i get started.
<NB -- DO == Distributed Objects>
You want to take a look at the TrivialThreads and SimpleThreads
examples on the apple developer web site. This will get you started
with interthread communcation via DO. You then want to take a look at
the DO docs available on your disc in the usual location. In
particular, you want to look at the NSSocketPort information, and the
NSMachPort documentation. There is a helpful example on NSSocketPorts
in the cocoa archives (it is a random number generator) -- do a search
on NSSocketPorts, and I think it's the second/third link.
Good luck!
Jeremy Faller
email@hidden
_______________________________________________
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.