[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arguments of +connectionWithRegisteredName:host:
From: |
Germán Arias |
Subject: |
Re: Arguments of +connectionWithRegisteredName:host: |
Date: |
Mon, 30 Nov 2009 20:20:44 -0600 |
Look this
http://www.gnustep.it/nicola/Tutorials/DistributedObjects/node7.html
In fact, this question born from this example. I discussed this with
Nicola, and he suggested talk this here.
El lun, 30-11-2009 a las 22:56 -0300, Jamie Ramone escribió:
> This @"*" is a pure GNUstep thingy, and I havn't really used it. What
> exactly is it supose to do?
>
> On Mon, Nov 30, 2009 at 10:05 PM, Germán Arias <german@xelalug.org> wrote:
> > When I try:
> >
> > [NSConnection connectionWithRegisteredName: @"Name" host: @"*"];
> >
> > I get:
> >
> > ./obj/Client: Uncaught exception NSInvalidArgumentException, reason:
> > Attempt to contact a named host using a message port name server. This
> > name server can only be used to contact processes owned by the same user
> > on the local host (host name must be an empty string). To contact
> > processes owned by other users or on other hosts you must use an
> > instance of the NSSocketPortNameServer class.
> >
> >
> > If this is true, the documentation is wrong. And a question: Why is
> > necessary the argument host? the method would be
> > +connectionWithRegisteredName:
> >
> >
> >
> > _______________________________________________
> > Discuss-gnustep mailing list
> > Discuss-gnustep@gnu.org
> > http://lists.gnu.org/mailman/listinfo/discuss-gnustep
> >
>
>
>