Skip to content

Cross-platform, C implementation of the IETF QUIC protocol, exposed to C, C++, C# and Rust.

License

Notifications You must be signed in to change notification settings

microsoft/msquic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d6af38c · Apr 29, 2025
Apr 25, 2025
Jul 16, 2023
Apr 24, 2025
Apr 28, 2025
Aug 17, 2022
Apr 29, 2025
Apr 29, 2025
Apr 29, 2025
Apr 28, 2025
Jan 2, 2025
Apr 20, 2025
Jan 17, 2021
Apr 4, 2025
Apr 23, 2025
Aug 9, 2023
Apr 23, 2025
Apr 23, 2025
Apr 23, 2025
May 13, 2020
Apr 1, 2025
Mar 30, 2021
Feb 27, 2025
Feb 24, 2025
Apr 8, 2025
Aug 5, 2024

Repository files navigation

MsQuic logo

Documentation Perf Dashboard Build Status Test Status Stress Status codecov CodeQL CII Best Practices Discord crates.io nuget

MsQuic is a Microsoft implementation of the IETF QUIC protocol. It is cross-platform, written in C and designed to be a general purpose QUIC library. MsQuic also has C++ API wrapper classes and exposes interop layers for both Rust and C#.

Tip

You are using MsQuic? Let us know! Knowing our users lets us prioritize work and keep improving MsQuic in the best possible direction. Post in the Discussion to say hello and give us a wave on Discord!

Protocol Features

QUIC has many benefits when compared to existing "TLS over TCP" scenarios:

  • All packets are encrypted and handshake is authenticated with TLS 1.3.
  • Parallel streams of (reliable and unreliable) application data.
  • Exchange application data in the first round trip (0-RTT).
  • Improved congestion control and loss recovery.
  • Survives a change in the clients IP address or port.
  • Stateless load balancing.
  • Easily extendable for new features and extensions.

Library Features

MsQuic has several features that differentiates it from other QUIC implementations:

  • Optimized for client and server.
  • Optimized for maximal throughput and minimal latency.
  • Asynchronous IO.
  • Receive side scaling (RSS) support.
  • UDP send and receive coalescing support.

Documentation

Contributing

For information on contributing, please see our contribution guidelines. Feel free to take a look at our Good First Issues list if you're looking for somewhere to start. If you'd just like to talk, come chat with us on Discord.