Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: N/A

View Source Code:

Download Sample (“OTCheckNetForNBPName.zip”, 88.7K)
Download Sample (“OTCheckNetForNBPName.dmg”, 152.3K)



Description

The OTCheckNetForNBPName sample demonstrates the use of the Open Transport under Carbon, to search an AppleTalk network for an NBP entity using multiple simultaneous searches to reduce the lookup time. This sample demonstrates how to 1. find the number of AppleTalk zones present by dynamically increasing the buffer size until a kOTBufferOverflowErr is no longer returned. 2. Use multiple lookup request and reply structures in order to reduce the amount of time required to search the network. 3. Use asynchronous lookup requests so that other actions can be taken while performing the lookup. 4. Turn on self send globally 5. Register/deregister an entity with OT.

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.