• Post Reply Bookmark Topic Watch Topic
  • New Topic

ICMP through Java  RSS feed

 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! I would like to know if Java supports ICMP Protocol.. if it does then where can I get the Api for the same..
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java won't support raw - check out
http://java.sun.com/products/jdk/1.2/docs/guide/net/socketOpt.html
The only thing I could suggest is to write a communications
layer in C and use JNI.
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gee tanx. well i am just reading thru the material u suggested.. shall get bak to ya asap.
tanx any way
regds
gautham kasinath
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Well the url u gave me was doing the same using C, I could think of dev one that is cross platf. but thru the url I figured that I could use the c code to be exported as dll and use jni from Java.. but again that would take away the cross platf. feature..
please help me.
Regds
Gautham Kasinath
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!