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

Re: Example of DO without nil as Host?


  • Subject: Re: Example of DO without nil as Host?
  • From: Greg Hulands <email@hidden>
  • Date: Sat, 19 Apr 2003 10:41:26 +1000

Have a look at http://cocoadevcentral.com/articles/000062.php#000062
There is a heading near the bottom about DO over a network.

On Saturday, April 19, 2003, at 07:31 AM, Craig Bakalian wrote:

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.
_______________________________________________
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.

References: 
 >Example of DO without nil as Host? (From: Craig Bakalian <email@hidden>)

  • Prev by Date: Re: memory. and a lot of continual small object allocations and deallocations.
  • Next by Date: Re: Make the action of a NSMenuItem, which has a subMenu, to work
  • Previous by thread: Re: Example of DO without nil as Host?
  • Next by thread: Right (or cntl)-clicking a button
  • Index(es):
    • Date
    • Thread