Skip to content

xiaofei0800/tquic-example-c

 
 

Repository files navigation

tquic-example-c

C examples of using TQUIC on Linux.

simple_server

A simple http/0.9 server responsing "OK" to any requests.

The certificate and private key are hard coded to "cert.crt" and "cert.key".

The first argument is the listening IP and the second is the listening port.

simple_client

A simple http/0.9 client.

The first argument is the destination IP and the second is the destination port.

Requirements

Refer to the TQUIC prerequisites.

Build

make

Run simple_server

./simple_server 0.0.0.0 4433

Run simple_client

./simple_client 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

  • C 97.0%
  • Makefile 3.0%