Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

# TeaCuP ☕

A simple cross-platform `netcat`-like TCP/UDP listener and client.

## Server

```
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 to listen on
--protocol Protocol: TCP or UDP [default: tcp]
```

## Client

```
Use as a client

USAGE:
teacup connect [OPTIONS]

FLAGS:
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
-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 echo

FLAGS:
-h, --help Prints help information
-V, --version Prints version information
```