File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PING program

 
G AMAR
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Please guide me how to write a program similar to PING...
I want to write a java program similar to PING .
That code should work in LINUX & Windows os.

 
David Weitzman
Ranch Hand
Posts: 1365
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ping uses the ICMP protocol which Java does not support. There is a feature request in the Java bug database that is among the top 25 most voted for RFE's. There is at least one workaround suggested there (using UDP to the echo port) but I haven't read very far.
 
G AMAR
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx David Weitzman
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic