Question

Is it possible to determine the MAC address of the originator of a remote connection under Windows NT 4? The remote PC opens a socket connection into my application and I can get the IP address. However I need to determine the MAC address from the information available from the socket such as the IP address of the remote device.

I have tried using SendARP but this doesn't seem to be supported in Windows NT4.

Was it helpful?

Solution

Try GetIpNetTable. This function is documented as supported as of NT 4.0 SP4.

OTHER TIPS

Hope the machine isn't too remote. MAC addresses will only be known for the local network (subnet).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top