proc/func to return MAC address of remote system?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

proc/func to return MAC address of remote system?

Scott I. Remick
I am in urgent need of a procedure or function to return the
MAC/ethernet address of a remote system using just it's IP or netbios
name (either/or, both not necessary). I already have a working procedure
I tweaked to get the IP (as a string) from the Netbios name, but sockets
programming is beyond me. I've gotten as far as knowing there's a way to
use getsockname function (from the winsock unit) but that's just one
tiny piece of a whole process of creating a socket, establishing some
sort of communication, closing the socket, etc... can someone just show
me a working example I can use to get through this crisis and then I can
study it later to learn from it? Thanks in advance

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal