This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ping jusing 1.4 PortUnreachableException ?

 
Rikard Qvarforth
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ! my problem is that i have made a program using the icmp.dll and java, as a java ping program . well this is not in the java spirit "all plattforms". Then i was thinking if i could do a "real" java program but using the PortUnreachableException as a referens when the icmp packet is not "answered" ? if so could i skip the use of the icmp.dll.? or if it works how can i recive the tcp/ip header information ? and if it not works like a ping... any suggestions ?
ping = pong ? :roll:
//Rille
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic