Skip to content

xiaofei0800/tquic-example-rust

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%