https://github.com/rami3l/ting
Yet another tcping.
https://github.com/rami3l/ting
go golang ping tcping
Last synced: about 1 month ago
JSON representation
Yet another tcping.
- Host: GitHub
- URL: https://github.com/rami3l/ting
- Owner: rami3l
- License: bsd-2-clause
- Created: 2020-11-02T12:32:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T02:22:54.000Z (about 2 months ago)
- Last Synced: 2025-03-25T03:25:12.232Z (about 2 months ago)
- Topics: go, golang, ping, tcping
- Language: Go
- Homepage:
- Size: 82 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ting
`ting` is a simple `tcping` implementation, heavily inspired by [zhengxiaowai/tcping].
## Contents
- [ting](#ting)
- [Contents](#contents)
- [Installation](#installation)
- [Usage](#usage)## Installation
- `homebrew`/`linuxbrew` install:
```bash
brew install rami3l/tap/ting
```- Build from source:
```bash
# To install:
go install github.com/rami3l/ting# To uninstall:
go clean -i "github.com/rami3l/ting"
```## Usage
`ting [hosts...] [flags]`
- `-i, --interval float32`: Interval between pings, in seconds (default `1`)
- `-n, --count int`: Number of tries (default `5`)
- `-p, --port int`: Numeric TCP port (default `80`)
- `-w, --timeout float32`: Maximum time to wait for a response, in seconds (default `5`)[zhengxiaowai/tcping]: https://github.com/zhengxiaowai/tcping