Add Packet Loss Statistics
alessandromaggio
released this
12 Nov 18:11
·
30 commits
to master
since this release
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