The analysis and implemention of getting a MAC address from host in the same segment

It is very important for managing network to getting a MAC address.The paper analyses the principle of ARP, and advances the method of how to get a MAC address from host in the same segment. How to use the "SendARP" .function to get a MAC address is expressed. There is the source code of getting a MAC address from host in the same segment. In the end of the paper, it is to be discussed that there is the limit of the principle to getting MAC address because of "Proxy ARP".