|
|
Principle and implementation of obtaining MAC based on
NetBIOS name service |
1.College of Information Technology, Heilongjiang Bayi Agricultural University, Daqing, Heilongjiang 163319, China; 2.College of Engineering, Northeast Agricultural University, Harbin, Heilongjiang 150030, China |
|
|
Abstract To rapidly obtain MAC address of remote host in the management of large computer lab, the two data structures of NODE STATUS REQUEST and NODE STATUS RESPONSE were analyzed based on the fundamental principle of NetBIOS name service. Under Windows condition, the computer service program was used to quickly achieve MAC address of remote host by socket technology. The definitions of C structures of NODE STATUS REQUEST and NODE STATUS RESPONSE were provided with the basic procedure of obtaining MAC address. The obtaining information program was implemented based on Visual C++2010 on Windows. The results show that the proposed method is simple to obtain MAC address in batch, and can provide a base of the computer automated management in LAN and the application based on MAC address.
|
|
|
|
|
|
|
|