Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paradiseduo/tcping
tcping command, written with Objective-C, on macOS,tcping for mac,ping over a tcp connection
https://github.com/paradiseduo/tcping
homebrew macos speedtest swift tcping
Last synced: 5 days ago
JSON representation
tcping command, written with Objective-C, on macOS,tcping for mac,ping over a tcp connection
- Host: GitHub
- URL: https://github.com/paradiseduo/tcping
- Owner: paradiseduo
- Created: 2020-03-25T09:02:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T12:06:28.000Z (over 1 year ago)
- Last Synced: 2024-12-08T22:04:05.452Z (14 days ago)
- Topics: homebrew, macos, speedtest, swift, tcping
- Language: Objective-C
- Homepage:
- Size: 136 KB
- Stars: 303
- Watchers: 9
- Forks: 35
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tcping
Better than tcping installed by Homebrewπ
Written with Objective-Cπ
Support MacOS onlyπ
## Download & Install
```bash
β wget https://github.com/paradiseduo/tcping/releases/download/3.7/tcping.zip
β unzip tcping.zip
β chmod +x tcping
β mv tcping /usr/local/bin/
β sudo xattr -rd com.apple.quarantine /usr/local/bin/tcping
```## Usage
```bash
β tcping --helpdP oo
88
d8888P .d8888b. 88d888b. dP 88d888b. .d8888b. {Version: 3.7}
88 88 88 88 88 88 88 88 88
88 88. 88. .88 88 88 88 88. .88
dP `88888P 88Y888P dP dP dP `8888P88
88 .88
dP d8888Ptcping is a ping over tcp connection.
Examples:
1. ping over tcp with custom port 10 times
> tcping www.baidu.com 80
2. ping over tcp with custom port 5 times
> tcping -c 5 www.baidu.com 443USAGE: tcping [--count ] [--interval ]
ARGUMENTS:
The IP or Domain to tcping.
The port to tcping.OPTIONS:
-c, --count The number of times to repeat 'tcping'. Default value is 10, Max value is 65535
-i, --interval The request interval(second). Default value is 1 second
-t, --timeout## Examples
with domain
```bash
β― tcping -c 5 baidu.com 443
baidu.com:443 has address: 220.181.38.148:443 - Connected - 32.682ms
baidu.com:443 has address: 220.181.38.148:443 - Connected - 29.372ms
baidu.com:443 has address: 39.156.69.79:443 - Connected - 52.232ms
baidu.com:443 has address: 220.181.38.148:443 - Connected - 28.922ms
baidu.com:443 has address: 220.181.38.148:443 - Connected - 28.975ms
Ping statistics baidu.com:443
5 probes sent.
5 successful, 0 failed.
Approximate trip times:
Minimum = 28.922ms, Maximum = 52.232ms, Average = 34.437ms
```with ipv4
```bash
β― tcping -c 5 220.181.38.148 443
220.181.38.148:443 - Connected - 30.635ms
220.181.38.148:443 - Connected - 30.816ms
220.181.38.148:443 - Connected - 28.708ms
220.181.38.148:443 - Connected - 30.713ms
220.181.38.148:443 - Connected - 34.641ms
Ping statistics 220.181.38.148:443
5 probes sent.
5 successful, 0 failed.
Approximate trip times:
Minimum = 28.708ms, Maximum = 34.641ms, Average = 31.103ms
```with ipv6
```bash
β― tcping -c 3 ::1 8080
::1:8080 - Connected - 0.502ms
::1:8080 - Connected - 0.432ms
::1:8080 - Connected - 0.752ms
Ping statistics ::1:8080
3 probes sent.
3 successful, 0 failed.
Approximate trip times:
Minimum = 0.432ms, Maximum = 0.752ms, Average = 0.562ms
```## Star Trend
[![Stargazers over time](https://starchart.cc/paradiseduo/tcping.svg)](https://starchart.cc/paradiseduo/tcping)