没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > python-pings |
|
python-pings
|
| 0 | 0 | 0 |
| 贡献者 | 讨论 | 代码提交 |
A pair of client and servers implementing a ICMP like ping protocol over TCP or UDP. The client generates random junk data and performs checksum tests on response data. The server just responds to the client with the data that was sent. The client will alert if the connections is timed out, the packets are coming out of order, or the checksums dont match. Can transmit any size bytes at any interval.
The ServerUsage: ./PingServer []
Options:
-h, --help show this help message and exit
-s SERVER, --server=SERVER
Server hostname or IP to ping
-P PROTO, --protocol=PROTO
Protocol, either TCP/UDP
-p PORT, --port=PORT Port to bind server toThe ClientUsage: ./PingClient []
Options:
-h, --help show this help message and exit
-s SERVER, --server=SERVER
Server hostname or IP to ping
-P PROTO, --protocol=PROTO
Protocol, either TCP/UDP
-t TIMEOUT, --timeout=TIMEOUT
Timeout in seconds to wait for response
-n NUM, --num=NUM Number of pings to send, max 256
-p PORT, --port=PORT Port to send ping requests
-b BYTES, --bytes=BYTES
Number of bytes to ping with, should be a relatively
small multiple of 8
标签:
