On 18 Sep 2018, at 16:48, Sandor Szatmari <admin.szatmari....@gmail.com> wrote:
> 
> Thanks Alistair!
> 
> Anyone else have additional info?

Well, Cocoa has Distributed Objects, which you could use for this purpose.  DO 
has some interesting behaviour (in particular, watch out - it can throw 
exceptions, even when calling methods that don’t normally do so), but it does 
let you send messages to objects fairly easily over a network.  There’s also 
Sun RPC (which uses the rpcgen tool, which you can find documented here: 
<https://docs.oracle.com/cd/E19683-01/816-1435/rpcgenpguide-24243/index.html>). 
 Both of those are built-in to the macOS.

There are other options too, but they’ll be more work; for instance CORBA, DCE 
RPC (or indeed DCOM, which is based on it), SOAP, XML-RPC, or a Restful HTTP(S) 
interface.  Or, indeed, a custom TCP-based server.

Exactly what you use depends on what’s best for your use case, which you don’t 
describe.  In particular, cross-platform support is a major driver here; if you 
use DO, you probably won’t find it easy to talk to Windows or Linux machines if 
you ever need to in the future, and while Sun RPC is easy on most UNIX systems, 
Windows uses DCE RPC.  CORBA is probably only of interest if you’re trying to 
talk to some enterprise system already built with it.  SOAP, XML-RPC and 
Restful HTTP(S) are fairly general purpose and might be good choices if you 
ever wanted to talk to a server built with (say) Python or Ruby.

Anyway...

Kind regards,

Alastair.

--
http://alastairs-place.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to