SlehMas / JPing

ping command re-implemented in java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JPing

ping command re-implemented in java

A simple implementation of the linux ping command in java

Usage:

java JPing [-h] [-q] [-D] [-V] [-s packetsize] [-c count] [-i interval] [-t timeout] destination.

Options:

-c count: Stop after sending count packets.
-i interval: Wait interval seconds between sending each packet. The default is to wait for one second between each packet.
-W timeout: Time to wait for a response, in milliseconds.
-q: Quiet output. Nothing is displayed except the summary lines at startup time and when finished.
-f: Flood mode: continously ping host, only shows failed pings as dots
-h: Show help.
-V: Show version.
-D: Print timestamp (milliseconds) before each line.
-s packetsize: Specifies the number of data bytes to be sent. The default is 56, which translates into 64 ICMP data bytes when combined with the 8 bytes of ICMP header data.

About

ping command re-implemented in java


Languages

Language:Java 100.0%