Skip to content

reuf/TCPPing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions on how to use:
0. - Fork;
1. - Build with Maven;
2. - Execute on two different computers with access to Internet.
3. - Use as instructed:

Catcher > Usage: java TCPPing –c –bind <ip-address> –port <port>

Pitcher > Usage: java TCPPing –p –port <port> [–mps <num_of_mess>] [–size <packet_size>] <hostname>

-p Pitcher mode; 
-c Cather mode;
-port <port> [Pitcher] TCP socket port used for connect, [Catcher] TCP socket port
 used for listening;
-bind <ip_address> [Catcher] TCP socket bind address used for listening;
-mps <rate> [Pitcher] send rate defined as „messages per second“ Default: 1;
-size <size> [Pitcher] Packet size, Minimum: 50, Maximum: 3000, Default: 300;
<hostname> [Pitcher] name of the machine on which Catcher runs;

About

This is an implementation of TCP Ping I created in Java for an interview phase at my former company.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages