打印本文 打印本文 关闭窗口 关闭窗口
如何用VB获得机器的MAC地址
作者:武汉SEO闵涛  文章来源:敏韬网  点击数2382  更新时间:2009/4/23 18:59:54  文章录入:mintao  责任编辑:mintao
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.

上一页  [1] [2] 

打印本文 打印本文 关闭窗口 关闭窗口