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.