Matias Surdi <ma*********@gmail.comwrote:
Anyone knows how having the IP address of a host on the lan could I get
the mac address of that hosr?
p/d: Parsing the output of arp -a is not an option.
What kind of system?
On linux and probably several other unix-like systems you could (if
you had permission) parse the /proc/net/arp file. Granted this isn't
terribly far off from parsing the output of 'arp -a', but at least
it keeps you from spawning a shell to run the 'arp -a' in.
--
Frank Stutzman