Skip to content

Add Packet Loss Statistics

Compare
Choose a tag to compare
@alessandromaggio alessandromaggio released this 12 Nov 18:11
· 30 commits to master since this release
3b27565

Thanks to @samgomena, we now have statistics on packet loss!
To get this statistics, simply access the packet_loss property on the Reponse List (the object returned from ping). A value of 1.0 represents 100% of packets lost, while 0% represents no packet lost.

rs = ping('127.0.0.1', verbose=True)
rs.packet_loss