Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 734 Bytes

README.md

File metadata and controls

39 lines (23 loc) · 734 Bytes

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