LANAs by submitting NCBENUM. Reset each LANA by submitting one NCBRESET per LANA. Add your local NetBIOS name to each LANA. The name may be the same on each LANA. Connect using any LANA: For servers, submit an NCBLISTEN on each LANA. If necessary, cancel any outstanding listen after the first listen is satisfied. For clients, submit an NCBFINDNAME (Windows NT only) or an NCBCALL (either Windows NT or Windows 95) on each LANA. The first successful find name or call will indicate which LANA to use. When using NCBCALL instead of NCBFINDNAME, you must cancel any pending NCBCALLs and hang up the extra completed calls (when two or more calls are successful.) It is a good idea to submit NCBADDNAME, NCBLISTEN, NCBFINDNAME, and NCBCALL asynchronously. Asynchronous requests will be processed almost in parallel on each transport.
This architecture is quite beneficial. Once your application is written to establish connections in this manner, it will support any transport that NetBIOS can use. As a result, your customers will not have to configure anything within your application, and your application will not be affected by dynamic LANAs such as dial-up adapters or plug-and-play hardware.