tcpbin 0.1.2

Simple library/CLI providing TCP echo server
Documentation

TCPBin

Rust Crates.io Documentation

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
  • tokio - Enables tokio logging

Usage

You can download pre-built binaries here

tcpbin 0.1.2
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
         --echo-port <echo_port>        Specifies port for Data Echo server. Defaults to 59000.
         --ip-echo-port <ip_echo_port>  Specifies port for IP Echo server. Defaults to 59001.

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