discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Arguments of +connectionWithRegisteredName:host:


From: Germán Arias
Subject: Arguments of +connectionWithRegisteredName:host:
Date: Mon, 30 Nov 2009 19:05:23 -0600

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:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]