Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.74 KB

usage.md

File metadata and controls

27 lines (23 loc) · 1.74 KB

Picoquic CLI Usage

On Linux after building, the following executables are available in the project root directory. All support "-h" argument to get the detailed usage:

  • picohttp_ct: runs various HTTP tests
  • picoquic_ct: runs various QUIC tests
    • with no arguments, runs all tests.
  • picoquicdemo: QUIC/HTTP demo client and server for HTTP/3, HTTP/0.9, QUIC performance tests and Siduck(simple test of Datagram support)
  • picoquic_sample: QUIC/HTTP sample demonstrating how to write an application using the picoquic stack. It is not meant to be actually used. See sample/README.md for detailed usage

HTTP Client and Server Usage

  • client: ./picoquicdemo servername serverportnumber HTTPpath
    • downloaded files will be in current directory. use -o for another folder
    • exemple: ./picoquicdemo -o ../received 192.0.2.1 4433 index.html
  • server: ./picoquicdemo -p portnumber
    • -p argument tells the program that it is acting as a server
    • HTML root folder is current directory by default. use -w for another folder
    • keys and certs are specified by -k and -c. See -h for more details.
    • exemple: ./picoquicdemo -w ../htmlroot -p 4433
  • additional useful information for HTTP usage is available at:

QUIC Logging

  • add -q $folder to cli commands so that QUIC logs are generated in that folder
  • you may use https://qvis.quictools.info/ by uploading the QLOG files and visualize the flows.