PDA

View Full Version : Traceroute



wonder_laptop
2008-01-06, 17:13
Hello,

can you PLEASE put a SIMPLE traceroute code in java.

i googled traceroute but i got a bunch of compicated codes.

im new in networking programming, i want to implement the traceroute command . i already managed to create a network and wrote a program for the laptops to send datagrams to each others.

can you PLEASE give me a code for the traceroute command implmentation?

i reallly really appreciate your help.

thanks so much in advance

ndmmxiaomayi
2008-01-10, 13:28
Try using Runtime.getRuntime to call the traceroute program instead, rather than writing one.