项目作者: jlkiri

项目描述 :
A simple netcat-like TCP/UDP listener and client.
高级语言: Rust
项目地址: git://github.com/jlkiri/teacup.git
创建时间: 2021-06-07T16:43:19Z
项目社区:https://github.com/jlkiri/teacup

开源协议:

下载


TeaCuP ☕

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

Server

  1. Use as a server
  2. USAGE:
  3. teacup listen [FLAGS] [OPTIONS]
  4. FLAGS:
  5. -h, --help Prints help information
  6. --ipv6 Tell the server to use IPv6
  7. -V, --version Prints version information
  8. OPTIONS:
  9. -p, --port <port> Port to listen on
  10. --protocol <protocol> Protocol: TCP or UDP [default: tcp]

Client

  1. Use as a client
  2. USAGE:
  3. teacup connect [OPTIONS] <addr>
  4. FLAGS:
  5. -h, --help Prints help information
  6. -V, --version Prints version information
  7. OPTIONS:
  8. -d, --data <data> Optionally send data on connection
  9. -p, --protocol <protocol> Protocol: TCP or UDP [default: tcp]
  10. ARGS:
  11. <addr> Remote address to connect to

Examples

A simple echo server

  1. USAGE:
  2. teacup example echo
  3. FLAGS:
  4. -h, --help Prints help information
  5. -V, --version Prints version information