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

Reply via email to