Reputation: 211
We all know that there's a big sweet piece o' binary named http.sys kernel-mode driver in our Windows that does HTTP handling for us. That is basically all we know about it.
But today I thought: hey, all our networking stuff like TCP/IP and whatnot is here, in userland -- ws2_32.dll's providers (in mswsock.dll) and all its friends. Since there are userland components, there is no way http.sys uses them. The question is: how do they do it? Any informative links will be greatly appreciated.
Upvotes: 3
Views: 3316
Reputation: 3718
I would imagine that HTTP.SYS utilizes Windows Kernel Sockets to achieve it's objectives. See here as well.
Upvotes: 2
Reputation: 211
Found a good answer to the question here: http://www.codemachine.com/article_tdi.html
It appears that there is much, much more to networking in Windows than Winsock shows us.
Upvotes: 1