Skip to content

Latest commit

 

History

History

tls-echo-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

connect tls-echo-server example

This example program will:

  1. Bind to an IP address and port
  2. Accept any number of secure TLS connections
  3. Handle each connection by:
    1. Waiting for String messages to be received
    2. Echoing the String message back to the source

Usage

export RUST_LOG=info
cargo run <ip-address-to-bind-to> <cert-file> <key-file>

Example Usage

export RUST_LOG=info
cargo run 127.0.0.1:5678 end.cert end.rsa