TCPing is a command-line tool for pinging a TCP port on a specified host, implemented in Rust. It provides statistics such as average, maximum, and minimum latency for the pinged host.
- Ping a TCP port on a specified host.
- Support for both positional and named parameters.
- Calculate and display statistics including average, maximum, and minimum latency.
tcping <host> <port> -n <number_of_pings>
<host>
: The host to ping.<port>
: The port to ping.-n, --number
: The number of ping attempts (default is 10).
tcping google.com 443 -n 5
- Clone the repository:
git clone https://github.com/TimothyYe/tcping.git
- Build the project:
cargo build --release
- Run the binary:
./target/release/tcping google.com 443 -n 10
Download the binary from the Releases page.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.