Skip to content

tquic-group/tquic-example-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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