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

NSL question


  • Subject: NSL question
  • From: Anders Pytte <email@hidden>
  • Date: Fri, 29 Mar 2002 01:13:57 -0500

If, in the case of an AppleTalk network, I want to get a list of all zones, using NSL, would I do the following:

NSLNeighborhood neighborhood = NSLMakeNewNeighborhood(/*name*/NULL, /*protocols*/NULL);
nslError = NSLStartNeighborhoodLookup(requestRef, neighborhood, infoPtr);

?

I'm confused by the documentation which has the following to say, at various points:

"In AppleTalk terminology, a zone is a neighborhood, and the default neighborhood is the local AppleTalk zone. The NBP plug-in retrieves a list of all AppleTalk zones when an application requests as [sic] a neighborhood lookup on the local zone."

"If neighborhood was created with a value of name that was NULL, NSLStartNeighborhoodLookup returns the first default neighborhood."

Regarding NSLMakeNewNeighborhood: "To create an NSLNeighborhood that can be used to obtain a list of default
neighborhoods when you call NSLStartNeighborhoodLookup, set name to NULL."

But these comments do not seem entirely consistent to me.

Thanks,

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

  • Prev by Date: Re: SystemConfiguration Help
  • Next by Date: Re: FTP in the Finder
  • Previous by thread: Re: OpenTransport Versions
  • Next by thread: Re: client side SSL
  • Index(es):
    • Date
    • Thread