What network traffic does Winsock not use on Windows?
I am developing some low level stuff (LSP) and found out that SMB traffic does not go through the LSP because SMB does not use Winsock. There is a paragraph on MSDN, but this is the Windows CE part of MSDN. So, is there any meaningful list of all traffic that does not go through Winsock? MSDN is a little messy.
I found now:
- SMB
- ICMP
source to share
Interesting - I always thought everything went through winsock.
From MSDN (hopefully this isn't just the same information you've already found):
Note. Since the following protocols and technologies do not use the Winsock LSP model, you cannot change them by writing an LSP:
- DHCP, ICMP and IGMP and other layer 3 protocol [my emphasis]
- DNS proxy
- Redirector
- SMB server
What I cannot deduce from this MSDN link is whether "other layer 3 protocols" means exactly that or "all other layer 3 protocols".
However, this KB article describes how ICMP Port Unreachable messages are ignored by Winsock - on some (very old) platforms - I'm wondering if the CE networking part is not up to date ...
source to share