Skip to content

bytefall/ping-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ping-Pong

A test project that uses WebTransport to send data back and forward.

Build the project

  1. Install Rust.
  2. Clone the repository: git clone https://github.com/bytefall/ping-pong.git
  3. cd ping-pong
  4. Generate TLS certificate: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
  5. Start the server: cargo run --bin server
  6. Start the client: cargo run --bin client

Run in Docker

  1. Clone the repository: git clone https://github.com/bytefall/ping-pong.git
  2. cd ping-pong
  3. Generate TLS certificate: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
  4. Build the server: docker build -t ping-pong-server -f ./server/Dockerfile .
  5. Build the client: docker build -t ping-pong-client -f ./client/Dockerfile .
  6. Start compose: docker compose up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published