View Single Post
  #3   (View Single Post)  
Old 16th August 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Actually, I would go in a different direction.. ping can be useful, but so often is ICMP Echo blocked by firewalls.

Why not use ARP instead? there are a few portable utilities out there.. in C.

ARPing
ARP Tools

The first is in OpenBSD ports, the second.. isn't... it also includes some, spoofing utilities.. but the arpdiscover program should be adequate.

Both use libpcap and libnet, the latter being in ports.. the former in base (usually..)
Reply With Quote