Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jlkiri/teacup
A simple netcat-like TCP/UDP listener and client.
https://github.com/jlkiri/teacup
network network-programming rust tcp tool
Last synced: about 1 month ago
JSON representation
A simple netcat-like TCP/UDP listener and client.
- Host: GitHub
- URL: https://github.com/jlkiri/teacup
- Owner: jlkiri
- Created: 2021-06-07T16:43:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-20T15:34:10.000Z (over 3 years ago)
- Last Synced: 2024-09-16T05:28:11.179Z (2 months ago)
- Topics: network, network-programming, rust, tcp, tool
- Language: Rust
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TeaCuP ☕
A simple cross-platform `netcat`-like TCP/UDP listener and client.
## Server
```
Use as a serverUSAGE:
teacup listen [FLAGS] [OPTIONS]FLAGS:
-h, --help Prints help information
--ipv6 Tell the server to use IPv6
-V, --version Prints version informationOPTIONS:
-p, --port Port to listen on
--protocol Protocol: TCP or UDP [default: tcp]
```## Client
```
Use as a clientUSAGE:
teacup connect [OPTIONS]FLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-d, --data Optionally send data on connection
-p, --protocol Protocol: TCP or UDP [default: tcp]ARGS:
Remote address to connect to
```## Examples
### A simple echo server
```
USAGE:
teacup example echoFLAGS:
-h, --help Prints help information
-V, --version Prints version information
```