• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IP packets with JNI?

 
hycwong
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic