PSPing example

http://rg443.hol.es/w/2016/11/psping-icmp-tcp-udp-ping-latency-and-bandwidth-measurement/

icmp fast ping (50)
psping -i 0 -n 50 www.google.com
tcp ping
psping -i 0 -n 10 www.google.com:443
tcp server for latency and bandwidth tests
psping -s 10.0.0.1:5000
tcp latency test (8KB)
psping -l 8k -n 1000 10.0.0.1:5000
tcp bandwidth test
psping -b -l 8k -n 30s 10.0.0.1:5000
psping -b -l 2M -n 10s 10.0.0.1:5000
TCP receiver bandwidth statistics:
Received = 10, Size = 2097152, Total Bytes: 6348079104,
Minimum = 476.08 MB/s, Maximum = 654.65 MB/s, Average = 607.23 MB/s
udp bandwidth test
psping -u -s 10.0.0.1:5000
psping -b -u -l 63k -n 10s -h 10 10.0.0.1:5000
UDP sender bandwidth statistics:
Sent = 10, Size = 64512, Total Bytes: 68333045760,
Minimum = 5.99 GB/s, Maximum = 6.46 GB/s, Average = 6.37 GB/s
UDP receiver bandwidth statistics:
Received = 10, Size = 64512, Total Bytes: 68324465664,
Minimum = 5.99 GB/s, Maximum = 6.46 GB/s, Average = 5.99 GB/s
UDP packet rate: 99.99%
Bandwidth       Count
6436675072.00   2
6492425728.00   1
6548176384.00   0
6603927040.00   0
6659677696.00   0
6715428352.00   1
6771179008.00   4
6826929664.00   25
6882680320.00   15
6938430976.00   1
psping -l 32 -n 100s 10.0.0.1:5000
TCP roundtrip latency statistics (post warmup):
Sent = 7529331, Size = 32, Total Bytes: 240938592,
Minimum = 0.01ms, Maxiumum = 0.72ms, Average = 0.01ms
75,3k conn/sec