2 ms·
It appears to use Socket (which is POSIX socket's send/recv and epoll/kqueue based) and SslStream. Can't say much about HttpListener itself, but the first two a
by neonsunset 2y ago
It appears to use Socket (which is POSIX socket's send/recv and epoll/kqueue based) and SslStream. Can't say much about HttpListener itself, but the first two are used by Kestrel (and everything else). There is Http.sys integration for Windows though.
https://github.com/dotnet/runtime/blob/ac663e44b907618c631edd614231b73677843952/src/libraries/System.Net.HttpListener/src/System/Net/Managed/HttpConnection.cs https://github.com/dotnet/runtime/blob/ac663e44b907618c631ed...