• 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: macnetworkprog digest, Vol 3 #83 - 11 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macnetworkprog digest, Vol 3 #83 - 11 msgs


  • Subject: Re: macnetworkprog digest, Vol 3 #83 - 11 msgs
  • From: Marc Krochmal <email@hidden>
  • Date: Sat, 30 Mar 2002 10:15:10 -0800

Hi Anders,

If I remember correctly, doing a lookup on a NULL neighborhood will first return a neighborhood named 'AppleTalk' and then doing a lookup on that neighborhood will return a list of all the AppleTalk zones. You can look at the NSLMiniBrowser sample code on the developer website for examples of doing neighborhood and service lookups.

-Marc


On Friday, March 29, 2002, at 10:24 PM, macnetworkprog-
email@hidden wrote:

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: OpenTransport Versions
  • Next by Date: Re: Local Connection
  • Previous by thread: MoreSCF/AuthSample Questions
  • Next by thread: Re: macnetworkprog digest, Vol 3 #83 - 11 msgs
  • Index(es):
    • Date
    • Thread