LSP hookÂ is a term that refers to the way Winsock LSPÂ intercepts traffic. This should not be confused with Winsock hookÂ which is another way to perform network interception.
Hooking WinsockÂ is one way to allow the programmer to intercept Winsock2 calls, this way has advantages and disadvantages. Advantages:
- No need to install anything.
- Easy to learn.
- For commercial products requires a commercial hooking library.
- For 64bit there’s only Microsoft Detours which costs a small fortune.
- On Vista and above you have to deal with injection security enforcement.