Skip to content

ashishvshenoy/iperf-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

iperf-java

A version of iperf tool in java implemented using sockets This tool, called Iperfer, will send and receive TCP packets between a pair of hosts using sockets.

When operating in client mode, Iperfer will send TCP packets to a specific host for a specified time window and track how much data was sent during that time frame; it will calculate and display the bandwidth based on how much data was sent in the elapsed time. When operating in server mode, Iperfer will receive TCP packets and track how much data was received during the lifetime of a connection; it will calculate and display the bandwidth based on how much data was received and how much time elapsed between received the first and last byte of data.

Usage

java Iperfer -c -h <server hostname> -p <server port> -t <time>

-c indicates this is the iperf client which should generate data server hostname is the hostname or IP address of the iperf server which will consume data server port is the port on which the remote host is waiting to consume data; the port should be in the range 1024 ≤ server port ≤ 65535 time is the duration in seconds for which data should be generated

java Iperfer -s -p <listen port>

-s indicates this is the iperf server which should consume data listen port is the port on which the host is waiting to consume data; the port should be in the range 1024 ≤ listen port ≤ 65535 You can use the presence of the -s option to determine Iperfer should operate in client mode.

About

A version of iperf tool in java implemented using sockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages