Crates.io | tcping |
lib.rs | tcping |
version | 1.0.1 |
source | src |
created_at | 2024-01-14 04:43:33.495953 |
updated_at | 2024-01-17 13:03:48.169261 |
description | A tool for testing native-to-target port latency, using Rust. |
homepage | https://github.com/lvillis/tcping-rs |
repository | https://github.com/lvillis/tcping-rs |
max_upload_size | |
id | 1099188 |
size | 19,168 |
tcping-rs
🌐 A TCP ping utility to determine reachability of a TCP port, using Rust.
This project is built with Rust and Cargo. To install Rust and Cargo, follow the instructions here.
To build the project, navigate to the project directory and run:
cargo build --release
This will create an executable in the ./target/release directory.
To run the executable, navigate to the ./target/release directory and run:
./target/release/tcping
tcping <host:port> [-c count] [-t]
Where:
host:port
is the host and port to ping
-c count
is the number of times to ping the host (default: 4)
-t
enables continuous pinging
-h
displays help
-V
displays version
This tool allows you to measure the latency to a server using TCP. It is built with Rust and uses the clap library for command line argument parsing.