• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Distributed Object problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed Object problems


  • Subject: Distributed Object problems
  • From: Amilcar Meneses Viveros <email@hidden>
  • Date: Thu, 8 Jan 2004 15:21:23 -0600 (CST)

I have problems when I try to conect with a distributed object.
The apple manual say that

id theProxy;
theProxy = [[NSConnection
rootProxyForConnectionWithRegisteredName:@"server"
host:nil] retain];
[theProxy setProtocolForProxy:@protocol(ServerProtocol)];

The problem is when tou change host: nil for a host name, some like this:
theProxy = [[NSConnection
rootProxyForConnectionWithRegisteredName:@"server"
host:@"darwin11.cs.cinvestav.mx"] retain];

In anothe hand, I try with this too

theProxy = [[NSConnection
rootProxyForConnectionWithRegisteredName:@"server"
host:[[NSHost current] name] retain];

but the connection don't work.

Somebody can help me?
Thanks!

Amilcar
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Thinking about shareware prices... (was a question about NSDate inside userDefaults)
  • Next by Date: localization
  • Previous by thread: Re: Help - Programmatically creating bindings in Java
  • Next by thread: Re: Distributed Object problems
  • Index(es):
    • Date
    • Thread