An open API service indexing awesome lists of open source software.

https://github.com/medicean/python-ping

python ping
https://github.com/medicean/python-ping

icmp ping python-ping

Last synced: 3 months ago
JSON representation

python ping

Awesome Lists containing this project

README

          

# python-ping

Ping using python raw socket
---

```
usage: sudo ping.py [-h] [--version] [-c COUNT] [-t TTL] [-s PACKETSIZE]
[--timeout TIMEOUT]
host

positional arguments:
host Target host

optional arguments:
-h, --help Show help message and exit
--version Show program's version number and exit
-c COUNT Send count ECHO_REQUEST packets (default:3)
-t TTL Set the IP Time to Live (default:64)
-s PACKETSIZE Set the sending packet size (default:64)
--timeout TIMEOUT Set the timeout (default: 2s)

```

> Notice: Running as root.

---

Author: Medici.Yan

Site: http://blog.evalbug.com