Skip to content

jakobod/mozquic_example

Repository files navigation

mozquic_example

This is going to be a simple client-server implementation using the QUIC-protocol as transport protocol.

This example uses the mozquic-library as base. The used version can be found here in the 'trunk' branch. It is a fork of https://github.com/mcmanus/mozquic, but slightly changed.

Also you will need nss, which can be found here. You will need version 3.33 or higher.

build

git clone [email protected]:jakobod/mozquic.git
cmake . 
make
cd ..
git clone [email protected]:jakobod/mozquic_example.git
mkdir build && cd build
cmake ..
make

running

./server # starts the server on port 4434
./client # starts client_1
./client # starts client_2

The client will ask you for a host to connect to. Use 'localhost' for testing purposes. After that it wants a port to connect to. Use '4434' to connect to the server.

NOTE

This project needs to be compiled with clang/clang++. Otherwise you will probably get runtime errors.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published