MsQuic explained

MsQuic
Developer:Microsoft
Latest Release Version:v2.2.4
Programming Language:C, C++
Operating System:Windows 11 and later, Windows Server, Linux, Xbox Series X/S software
Platform:Cross-platform
Genre:Software library
License:MIT License

MsQuic is a free and open source implementation of the IETF QUIC protocol written in C[1] that is officially supported on the Microsoft Windows (including Server), Linux, and Xbox platforms. The project also provides libraries for macOS and Android, which are unsupported.[2] It is designed to be a cross-platform general purpose QUIC library optimized for client and server applications benefitting from maximal throughput and minimal latency. By the end of 2021 the codebase had over 200,000 lines of production code, with 50,000 lines of "core" code,[3] sharable across platforms. The source code is licensed under MIT License and available on GitHub.[4]

Among its features are, in part, support for asynchronous IO, receive-side scaling (RSS), UDP send and receive coalescing, and connection migrations that persist connections between client and server to overcome client IP or port changes,[5] such as when moving throughout mobile networks.[6]

Both the HTTP/3[7] and SMB stacks[8] of Microsoft Windows leverage MsQuic, with msquic.sys providing kernel-mode functionality. Being dependent upon Schannel for TLS 1.3, kernel mode therefore does not support 0-RTT.

User-mode programs can implement MsQuic, with support 0-RTT, through msquic.dll, which can be built from source code or downloaded as a shared library through binary releases on the repository.

Its support for the Microsoft Game Development Kit makes MsQuic possible on both Xbox and Windows.

See also

External links

Notes and References

  1. Web site: Microsoft open-sources in-house library for handling QUIC connections. Catalin. Cimpanu. ZDNet.
  2. Web site: Microsoft's In-House QUIC Connections Library is Now Open Source. Luke. Jones. April 29, 2020. WinBuzzer.
  3. Web site: Banks . Nick . December 7, 2021 . QUIC @ Microsoft . July 11, 2022 . EPIQ 2021.
  4. Web site: November 7, 2020 . microsoft/msquic . GitHub.
  5. 10.1051/epjconf/201921408026 . Integration and Evaluation of QUIC and TCP-BBR in longhaul Science Data Transfers . 2019 . Lopes . Raul H. C. . Franqueira . Virginia N. L. . Rand . Duncan . EPJ Web of Conferences . 214 . 08026 . 2019EPJWC.21408026L . 203699308 . free .
  6. Web site: MsQuic Library Features. September 2020. GitHub.
  7. Web site: QUIC, dig in: Microsoft open-sources MsQuic, its implementation of Google-spawned TCP-killer QUIC. Simon. Sharwood. www.theregister.com.
  8. Web site: SMB over QUIC. Microsoft Docs. 18 May 2023 .