{"id":18716582,"url":"https://github.com/timothyye/tcping","last_synced_at":"2026-01-06T06:14:04.120Z","repository":{"id":255827776,"uuid":"845064192","full_name":"TimothyYe/tcping","owner":"TimothyYe","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-12T16:12:39.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-13T05:14:47.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TimothyYe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-20T14:07:23.000Z","updated_at":"2024-09-12T16:12:42.000Z","dependencies_parsed_at":"2024-09-13T03:12:36.255Z","dependency_job_id":null,"html_url":"https://github.com/TimothyYe/tcping","commit_stats":null,"previous_names":["timothyye/tcping"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Ftcping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Ftcping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Ftcping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Ftcping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimothyYe","download_url":"https://codeload.github.com/TimothyYe/tcping/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223518443,"owners_count":17158689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T13:13:07.368Z","updated_at":"2026-01-06T06:14:04.115Z","avatar_url":"https://github.com/TimothyYe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TCPing\n\nTCPing 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.\n\n[中文版 README](README_CN.md)\n\n[![asciicast](https://asciinema.org/a/CgpXmFi9g8guvfOyDpm9ehtml.svg)](https://asciinema.org/a/CgpXmFi9g8guvfOyDpm9ehtml)\n\n## Features\n\n- Ping a TCP port on a specified host.\n- Support for both positional and named parameters.\n- Calculate and display statistics including average, maximum, and minimum latency.\n\n## Usage\n\n```sh\ntcping \u003chost\u003e \u003cport\u003e [-n \u003cnumber_of_pings\u003e] [-t \u003ctimeout\u003e] [-i \u003cinterval\u003e]\n```\n\n### Parameters\n\n* `\u003chost\u003e` : The host to ping.\n* `\u003cport\u003e` : The port to ping.\n* `-n, --num` : The number of ping attempts (default is 10).\n* `-t, --timeout` : Timeout in seconds for each connection attempt (default is 3).\n* `-i, --interval` : Time interval between pings in milliseconds (default is 500).\n\n### Example\n\n```sh\ntcping google.com 443 -n 5\ntcping google.com 443 -n 20 -t 5 -i 1000\n```\n\n## Installation\n\n### From Source\n\n1. Clone the repository:\n\n```sh\ngit clone https://github.com/TimothyYe/tcping.git\n```\n\n2. Build the project:\n\n```sh\ncargo build --release\n```\n\n3. Run the binary:\n\n```sh\n./target/release/tcping google.com 443 -n 10 -t 3 -i 500\n```\n\n### From Binary\n\nDownload the binary from the [Releases](https://github.com/TimothyYe/tcping/releases) page.\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](https://github.com/TimothyYe/tcping/blob/master/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothyye%2Ftcping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimothyye%2Ftcping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothyye%2Ftcping/lists"}