If you don't want to specify the local host then the host: parameter should be nil or an empty string (i.e. @""), from what I recall. That's what the Apple docs say, and what I've always used.
On Mon, Nov 30, 2009 at 10:05 PM, Germán Arias <[email protected]> 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 > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnustep > -- Besos, abrazos, confeti y aplausos. Jamie Ramone "El Vikingo" _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
