mirror of
https://github.com/openssl/openssl.git
synced 2025-04-18 20:40:45 +08:00
Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26544)
Simple single-connection QUIC server example
This is a simple example of a QUIC server that accepts and handles one connection at a time. It demonstrates blocking use of the QUIC server API.
Type make
to build and make run
to run.
Usage:
./server <port-number> <certificate-file> <key-file>
Example client usage:
openssl s_client -quic -alpn ossltest -connect 127.0.0.1:<port-number>