Jump to content

MsQuic

From Wikipedia, the free encyclopedia
MsQuic
Developer(s)Microsoft
Initial releaseNovember 27, 2019; 4 years ago (2019-11-27)
Stable release
v2.2.4 / October 16, 2023; 13 months ago (2023-10-16)
Repository
Written inC, C++
Operating systemWindows 11 and later, Windows Server, Linux, Xbox Series X/S software
PlatformCross-platform
TypeSoftware library
LicenseMIT 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.[9]

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.[9]

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

See also

[edit]

References

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