How to hook WS2_32.recv systemwide under Windows XP?
Posted on 2004-04-17
I'm using MadShi's CodeHook and following WinSock-hook works fine in Win 98, but in Windows XP the hook for the WS2_32.recv function is never called. send, connect and closesocket are still working as intended.
HookAPI('ws2_32.dll', 'recv', @recvCallback, @recvNext);
Some working example code would be great. I guess not SUCH a big deal, but I gave it up to search the web so 500 points, because I need a solution soon :).