posted 15 years ago
Sounds like you need raw sockets, google for jpcap, there are two libraries, the one called Jpcap(notice case) will allow you to send.
Advantage of this is that if your target drops ping you can try using TCP or UDP packets which sometimes works. Most ping implementation don't do this.
"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra