4 releases

Uses old Rust 2015

0.1.1 Mar 19, 2017
0.1.0 Feb 9, 2017
0.0.2 Feb 8, 2017
0.0.1 Feb 7, 2017

#15 in #cute

MIT license

15KB
392 lines

toa-ping

Build status Build Status

Utility to perform pings.

Supported protocols:

  • TCP

Named after cute Toa

Usage

usage: toa-ping [flags] [options] <destination>

Performs ping toward destination.

Destination format: <host>[:<port>]

Flags:
  -h, --help    - Prints this message.
  -f, --forever - Keep going forever.

Options:
  -p <protocol> - Specifies protocol to use. Default is tcp.
  -n <number>   - Number of pings to send. Default is 4.
  -i <interval> - Time interval between pings in milliseconds. Default is 500.
  -w <timeout>  - Time to wait for each response in milliseconds. Default is 1000.
  -4            - Enforce IPv4 version. Default is first resolved address.
  -6            - Enforce IPv6 version. Default is first resolved address.

Supported protocols:
  tcp - Measures RTT of connection establishment.

Dependencies

~260KB