• 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
problem with DO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with DO


  • Subject: problem with DO
  • From: Lloyd Dupont <email@hidden>
  • Date: Tue, 22 Apr 2003 16:03:14 +1000

this code sample (below) doesn't work (I mean registerName: return NO)
what could be wrong ?
does NSSocketPortNameServer require specific initialization ?

id serverObject = [[Server new] autorelease];
NSConnection * theConnection = [NSConnection defaultConnection];
[theConnection setRootObject: serverObject];
if([theConnection registerName:@"mon serveur a moi"
withNameServer:[NSSocketPortNameServer
sharedInstance]] == NO) {
_______________________________________________
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.

  • Follow-Ups:
    • Re: problem with DO
      • From: Greg Hulands <email@hidden>
  • Prev by Date: about Rendez-vous and Distributed Object
  • Next by Date: How to get my own icon when saving files?
  • Previous by thread: about Rendez-vous and Distributed Object
  • Next by thread: Re: problem with DO
  • Index(es):
    • Date
    • Thread