Sign inSign up

douman/tcpbin

By douman

•Updated 12 days ago

A simple utility TCP server

Image
Networking
0

208

douman/tcpbin repository overview

⁠TCPBin

Rust Crates.io Documentation Hub Quay

TCPBin - A simple utility TCP server

MSRV 1.85

⁠Build features

  • cli - Enables to build command line binary to run server
  • tokio - Enables async version of all server handlers. Otherwise there is simple blocking version
  • tracing - Enables tracing logging

⁠Usage

You can download pre-built binaries here⁠

tcpbin 0.1.3
TCPBin server

USAGE: [OPTIONS]

OPTIONS:
    -h,  --help                         Prints this help information
         --host <host>                  Specifies IP address to bind server with. Defaults to 0.0.0.0. Can be set via env TCPBIN_HOST
         --echo-port <echo_port>        Specifies port for Data Echo server. Defaults to 59000. Can be set via env TCPBIN_ECHO_PORT
         --ip-echo-port <ip_echo_port>  Specifies port for IP Echo server. Defaults to 59001. Can be set via env TCPBIN_IP_ECHO_PORT

⁠Testing server

  • roseline.servebeer.com:59000 - Echo endpoint, returns back all data
  • roseline.servebeer.com:59001 - IP Echo endpoint, returns client's IP on connect. Can be over-written using proxy protocol⁠

Tag summary

Content type

Image

Digest

sha256:ec5727f93…

Size

295.5 kB

Last updated

12 days ago

docker pull douman/tcpbin