Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.act365.net.ping
Class Traceroute  view Traceroute download Traceroute.java

java.lang.Object
  extended bycom.act365.net.ping.Traceroute

public class Traceroute
extends java.lang.Object

Implements the well-known Traceroute network utility. The app supports the broadcast of UDP or ICMP ECHO_REQUEST packets.


Constructor Summary
Traceroute()
           
 
Method Summary
static void main(java.lang.String[] args)
          Executes the Traceroute service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Traceroute

public Traceroute()
Method Detail

main

public static void main(java.lang.String[] args)
Executes the Traceroute service.

Usage: Traceroute -p protocol -l localhost -d host

protocol is the protocol to be used for broadcast. The default is ICMP - the alternative is UDP.

localhost is the local host address, which should be specified if UDP is used. (The information is used to calculate the UDP checksum).

-d should be specified if debug is required.

host is the remote hostname and is mandatory.