Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 593 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 593 Bytes

tquic-example-rust

Rust examples of using TQUIC on Linux.

Requirements

Refer to the TQUIC prerequisites.

Build

cargo build

Run simple_server

Generate certificate and key.

cd target/debug
openssl genrsa -out cert.key 2048
openssl req -new -x509 -days 36500 -key cert.key -out cert.crt -subj "/CN=example.org"

Run simple_server.

./simple_server

Run simple_client

cd target/debug
./simple_client -c 127.0.0.1:4433