Crates.io | teacup |
lib.rs | teacup |
version | 0.1.0 |
source | src |
created_at | 2021-06-20 14:40:02.155292 |
updated_at | 2021-06-20 14:40:02.155292 |
description | A simple `netcat`-like TCP/UDP listener and client. |
homepage | https://github.com/jlkiri/teacup |
repository | https://github.com/jlkiri/teacup |
max_upload_size | |
id | 412438 |
size | 15,375 |
A simple cross-platform netcat
-like TCP/UDP listener and client.
Use as a server
USAGE:
teacup listen [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--ipv6 Tell the server to use IPv6
-V, --version Prints version information
OPTIONS:
-p, --port <port> Port to listen on
--protocol <protocol> Protocol: TCP or UDP [default: tcp]
Use as a client
USAGE:
teacup connect [OPTIONS] <addr>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-d, --data <data> Optionally send data on connection
-p, --protocol <protocol> Protocol: TCP or UDP [default: tcp]
ARGS:
<addr> Remote address to connect to
USAGE:
teacup example echo
FLAGS:
-h, --help Prints help information
-V, --version Prints version information