File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes IP packets with JNI? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Java in General
Bookmark "IP packets with JNI?" Watch "IP packets with JNI?" New topic

IP packets with JNI?


Joined: Dec 03, 2001
Posts: 1
I want to ask if there is a java class that I can use to create and send out IP/ICMP/UDP/TCP packets in Java. I don't want to create native library for different platform by myself...
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
icmp is not supported in java, you need native code (maybe in java 1.4 ?). for the rest you should check (socket, datagram....) everithing is there.
Sean MacLean
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
I agree. Here's the link:
subject: IP packets with JNI?