File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "IP packets with JNI?" Watch "IP packets with JNI?" New topic
Author

IP packets with JNI?

hycwong
Greenhorn

Joined: Dec 03, 2001
Posts: 1
Hi,
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
hi,
icmp is not supported in java, you need native code (maybe in java 1.4 ?). for the rest you should check java.net (socket, datagram....) everithing is there.
k
Sean MacLean
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
"hycwong",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . 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.
Thanks.
Sean
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IP packets with JNI?