Releases: MiffyLiye/TcpPing
Releases · MiffyLiye/TcpPing
Improved Time Measurement
Improved time measurement method.
Edge case bug fix.
First fully tested release
Tested under key scenarios.
Optimized warm up method.
New Output Information Format
Changed output information format.
Fixed loss rate calculation error.
Improve Accuracy of First Ping
Solved Issue:
#2
First viable version of TcpPing
TcpPing: A portable TCP ping tool
How to use it
On OS X
First you may need to have Mono installed.
In the following example I will assume that the TcpPing.exe is placed in $HOME/bin/.
If you want to ping localhost on port 80, you can run from terminal using
/usr/local/bin/mono $HOME/bin/TcpPing.exe localhost:80
And you may get the output like
Pinging localhost:80 [127.0.0.1:80]:
time = 3.693 ms
time = 0.325 ms
time = 0.336 ms
time = 0.302 ms
--- 127.0.0.1:80 ping statistics ---
round-trip min/avg/max = 0.302/3.693/1.164 ms
You can also ping localhost with IP
/usr/local/bin/mono $HOME/bin/TcpPing.exe 127.0.0.1:80
IPv6 is not supported in this version.
Wrap in a shell script
You can also wrap the .NET programme in a shell script so that you will not need to input mono each time.
The script tcpping.sh contains
#!/bin/sh
/usr/local/bin/mono $HOME/bin/TcpPing.exe "$@"
And you can run TcpPing with
./tcpping.sh localhost:80