• 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
NSConnection hostname
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSConnection hostname


  • Subject: NSConnection hostname
  • From: Drew Cunningham <email@hidden>
  • Date: Tue, 19 Feb 2002 20:52:30 -0500

I've spent several days trying to figure out why my Distributed Object didn'
t work until I finally came upon the fact that the documentation is wrong about using a wildcard as the hostname:
theConnection = [[NSConnection connectionWithRegisteredName:@"numberServer"
host:@"*"] retain];

The problem now is that I need to connect to a computer other than the localHost, so I need a way to search for computers on the local network, that have an IP address but no hostname.

Could someone tell me how I go about searching for a DO server on a network,
and then using its IP address (since there are no host names) to make an NSConnection?
_______________________________________________
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: NSConnection hostname
      • From: "Rafael K. Kobylinski" <email@hidden>
  • Prev by Date: Re: Tiff with mask
  • Next by Date: Re: NSMatrix: which selectors?
  • Previous by thread: Re: Registering Defaults
  • Next by thread: Re: NSConnection hostname
  • Index(es):
    • Date
    • Thread