• 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
Example of DO without nil as Host?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Example of DO without nil as Host?


  • Subject: Example of DO without nil as Host?
  • From: Craig Bakalian <email@hidden>
  • Date: Fri, 18 Apr 2003 17:31:30 -0400

Hi,
I am thoroughly confused here. Is there an example of an NSConnection
to get a vended object with out passing nil as the host out there in
documentation land. I can't find one.

server = [[NSConnection rootProxyForConnectionWithRegisteredName:
@"testServer" host: [[NSHost currentHost]address] ]retain];

Also, [[NSHost currentHost]address] us returning the standard 127.0.0.1
for the local host. Yet, one would think that this would bounce in my
iMac and get the server named @"testServer", but it doesn't. Has
anyone out there used this NSConnection? Apple engineers?

Craig Bakalian
www.eThinkingCap.com
_______________________________________________
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: Example of DO without nil as Host?
      • From: Greg Hulands <email@hidden>
    • Re: Example of DO without nil as Host?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: How does NSTextTab really work?
  • Next by Date: Re: Painting With the Metal Texture (And Related Random Problems)
  • Previous by thread: Re: How does NSTextTab really work?
  • Next by thread: Re: Example of DO without nil as Host?
  • Index(es):
    • Date
    • Thread