NSL question
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.