com.act365.net.ping
Class Traceroute

java.lang.Object
  |
  +--com.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
equals, 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.