RepoMicrosoftMicrosoftpublished Oct 26, 2019seen 1w

microsoft/msquic

C

Open original ↗

Captured source

source ↗
published Oct 26, 2019seen 1wcaptured 2dhttp 200method plain

microsoft/msquic

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

Language: C

License: MIT

Stars: 4712

Forks: 673

Open issues: 313

Created: 2019-10-26T04:10:24Z

Pushed: 2026-06-10T23:43:31Z

Default branch: main

Fork: no

Archived: no

README:

![codecov](https://codecov.io/github/microsoft/msquic) ![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/4846)

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.
  • Kernel stack bypass via XDP.

Documentation

  • For platform support details, see the [Platforms docs](./docs/Platforms.md).
  • For release details, see the [Release docs](./docs/Release.md).
  • For performance data, see the Performance dashboard.
  • For building the library, see the [Build docs](./docs/BUILD.md).
  • For testing the library, see the [Testing docs](./docs/TEST.md).
  • For using the API, see the [API docs](./docs/API.md) or the [Sample](./src/tools/sample/sample.c).
  • For running a sample server and client app, see the [Quick Start Guide](./docs/Sample.md).
  • For deploying QUIC, see the [Deployment docs](./docs/Deployment.md).
  • For diagnosing issues, see the [Diagnostics docs](./docs/Diagnostics.md) and the [Trouble Shooting Guide](./docs/TroubleShootingGuide.md).
  • For other frequently asked questions, see the [FAQs](./docs/FAQ.md).

Contributing

For information on contributing, please see our [contribution guidelines](./.github/CONTRIBUTING.md). 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.