Skip to content

Releases: paradiseduo/tcping

3.7

18 Sep 02:44
b595be9
Compare
Choose a tag to compare

Add timeout

3.6

09 Jan 12:24
Compare
Choose a tag to compare
3.6

Update GCDAsyncSocket

3.5

15 Oct 02:45
Compare
Choose a tag to compare
3.5

新增-i --interval参数,可以设置每次tcping的时间间隔,单位为秒,100毫秒可以传0.1

3.2

23 Nov 10:03
Compare
Choose a tag to compare
3.2

⚠️If the system prompts that tcping cannot be verified as malware, please execute this command⚠️

sudo xattr -rd com.apple.quarantine /usr/local/bin/tcping

Add ipv6 support, like this:

❯ tcping ::1 8080
::1:8080 - Connected - 0.538ms
::1:8080 - Connected - 0.279ms
::1:8080 - Connected - 0.657ms
::1:8080 - Connected - 0.718ms
::1:8080 - Connected - 0.739ms
::1:8080 - Connected - 0.699ms
::1:8080 - Connected - 0.69ms
::1:8080 - Connected - 0.862ms
::1:8080 - Connected - 0.682ms
::1:8080 - Connected - 0.704ms
Ping statistics ::1:8080
    10 probes sent.
    10 successful, 0 failed.
Approximate trip times:
    Minimum = 0.279ms, Maximum = 0.862ms, Average = 0.657ms

3.1

12 May 03:44
Compare
Choose a tag to compare
3.1

⚠️如果系统提示无法验证tcping是否为恶意软件,那么请执行下面这条命令⚠️

sudo xattr -rd com.apple.quarantine /usr/local/bin/tcping

为解决系统兼容性问题,使用Objective-C重写,这样10.13.6及之前的macOS就可以用啦。
(Swift5写的打包之后不支持10.13.6之前的系统,感谢使用者指出该问题)

优化参数位置,现在可以像这样填参数了:

tcping ip port --count 5

tcping --count 5 port ip

tcping port --count 5 ip

tcping ip --count 5 port

需要注意-c或者--count后面的数字会被判断为测试次数,不要跟端口号搞混了