• 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: NSLStartNeighborhoodLookup in Jaguar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLStartNeighborhoodLookup in Jaguar


  • Subject: Re: NSLStartNeighborhoodLookup in Jaguar
  • From: Marc Krochmal <email@hidden>
  • Date: Wed, 9 Jul 2003 22:53:01 -0700

Mark,

On Monday, July 7, 2003, at 03:29 PM, email@hidden wrote:

NSL newbie here. I'm playing with the NSL MiniBrowser sample project and
getting no joy. Apparently there was a thread on this list last October which
dealt with how to work around the changes to NSL under Jag that broke this sample
for simple networks, but it stops just inches short of explaining the
solution. Anyone remember how Quinn said he went about 'hardwiring the default
neighborhood to "DEFAULT"'? Or is there how a better solution?

The solution is to not assume that a default scope exists. In Mac OS 8.6 through Mac OS 10.1, you were guaranteed that at least one scope existed called "Local" or "Local Network". Starting in 10.2, if no zones, domains, or scopes exist, browsing for scopes will return no results. So all you need to do is to make sure you browse in the default neighborhood which you can get by calling NSLMakeNewNeighborhood(NULL, NULL).

Hope that helps, although I would highly recommend that you use Rendezvous instead of NSL if possible.

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

  • Follow-Ups:
    • Re: NSLStartNeighborhoodLookup in Jaguar
      • From: Kevin Arnold <email@hidden>
References: 
 >NSLStartNeighborhoodLookup in Jaguar (From: email@hidden)

  • Prev by Date: Re: secure sockets
  • Next by Date: Re: Help for Network Configuration
  • Previous by thread: Re: NSLStartNeighborhoodLookup in Jaguar
  • Next by thread: Re: NSLStartNeighborhoodLookup in Jaguar
  • Index(es):
    • Date
    • Thread