ICMP in Java

Chris Hodgins chodgins at cis.strath.ac.uk
Wed Mar 2 22:56:12 GMT 2005


Pat Maddox wrote:
> I'm writing an app that needs to send out ICMP packets.  ICMP isn't
> supported in Java until 1.5, and it looks like 1.5 is alpha and
> shouldn't be used for production.  Is that correct?

Yes that's accurate I believe.

> 
>>From what I've read, I'll need to use a JNI implementation.  Does
> anybody know of any preexisting ones for FreeBSD 5.3?  Thanks

Yes you will have to use the JNI api.  Try googling "java jni icmp".  If 
you are just after a ping I am sure there are quite a few examples out 
there.

Chris


> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
> 



More information about the freebsd-java mailing list