如何用VB获得机器的MAC地址[3]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 miaohaijun 的 blog

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

本文关键:网卡MAC地址
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top