yatin chalke wrote:
> 
> I want to get hardware address of any machine on a
> subnet using sysctl and routing sockets.
> I can search arp cache and return the hardware address
> if it is there.

I'm not 100% sure I understand what you want to do, but using nmap (or 
similar) to scan the subnet should get you the list. MAC addresses will 
then be either in your cache, or use net/arping from ports to get them.

Lars
-- 
Lars Eggert <[EMAIL PROTECTED]>           USC Information Sciences Institute

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to