Re: Distributed Objects problem
Re: Distributed Objects problem
- Subject: Re: Distributed Objects problem
- From: Mike Davis <email@hidden>
- Date: Thu, 10 Jan 2002 23:34:26 -0500
Remote IPC doesn't work on MacOSX with DO. Apple seem to have cocked up
most of the good things of NeXT OpenSTEP. Why they can't fix it with
straight Sun RPC I don't know. It'd open up interconnectivity for the
Mac to Solaris systems, maybe even NT.
I'd suggest going down either a CORBA route with some glue code (or
ObjC++). You may be able to serialise the objects yourself and push them
across with sockets. Maybe you could use RPC instead and implement a
NSConnection, probably non-trivial.
I'm guessing that someone's ported the Linux ORB to Darwin. I could
probably find out, if you like, as I know one of the big shots behind
it. Hopefully there's an IDL compiler on Darwin too.
On Thursday, January 10, 2002, at 07:18 PM, cocoa-dev-
email@hidden wrote:
Date: Thu, 10 Jan 2002 18:01:46 -0600 (CST)
From: =?ISO-8859-1?Q?Briones_Garc=EDa_Jorge_Alfonso?=
<email@hidden>
To: <email@hidden>
Subject: Distributed Objects problem
Hi !
I had develop an application that use distributed objects, the
application goal is to share information between applications in
different
machines.
The problem I have is with the following statement:
theProxy = [[NSConnection
rootProxyForConnectionWithRegisteredName:@"server"
host:@"*"] retain];
While I was developing the application I put a @"" in the host argument
and it works well running the client and the server app in one machine,
then I changed the host argument to @"*" and run the client and server
app
in different machines, the server works well, but the client can't
connect
to the server and I don't know why, later I change the host argument to
the Ip address of the server but that didn't work.
I know you can help me to figure out what is going on !
Thanks in advance !!
--
Jorge Alfonso Briones Garcma
Ingenierma Elictrica
Seccisn Computacisn
CINVESTAV-IPN
email@hidden