tcping

ping over a tcp connection

Github星跟踪图

Build Status

tcping

tcping is like tcping.exe, but written with Golang.

Usage

  • The default count of ping is 4.

  • If the port is omitted, the default port is 80.

  • The default interval of ping is 1s.

  • The default timeout of ping is 1s.

ping tcp

> tcping google.com 443
Ping tcp://google.com:443 - Connected - time=15.425732ms
Ping tcp://google.com:443 - Connected - time=2.628025ms
Ping tcp://google.com:443 - Connected - time=2.400356ms
Ping tcp://google.com:443 - Connected - time=1.967587ms

Ping statistics tcp://google.com:443
	4 probes sent.
	4 successful, 0 failed.
Approximate trip times:
	Minimum = 1.967587ms, Maximum = 15.425732ms, Average = 5.605425ms

ping http

> tcping -H hui.lu
Ping http://hui.lu:80 - http is open - time=232.880173ms method=GET status=200 bytes=10317
Ping http://hui.lu:80 - http is open - time=60.096446ms method=GET status=200 bytes=10317
Ping http://hui.lu:80 - http is open - time=56.750403ms method=GET status=200 bytes=10317
Ping http://hui.lu:80 - http is open - time=57.886907ms method=GET status=200 bytes=10317

Ping statistics http://hui.lu:80
	4 probes sent.
	4 successful, 0 failed.
Approximate trip times:
	Minimum = 56.750403ms, Maximum = 232.880173ms, Average = 101.903482ms

主要指标

概览
名称与所有者cloverstd/tcping
主编程语言Go
编程语言Go (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2017-06-25 12:55:56
推送于2023-12-05 07:55:09
最后一次提交2022-09-04 10:45:52
发布数2
最新版本名称v0.1.1 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数842
关注者数18
派生数168
提交数26
已启用问题?
问题数20
打开的问题数10
拉请求数14
打开的拉请求数2
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?