title: What is the easiest way of intercepting library calls in Windows?
body: <p>I want to monitor/filter internet traffic. I planned on doing this by intercepting calls to send and receive in the WinSock API. Patching/disassembling are too difficult and time consuming. The dll method is also very time consuming because all I want to patch are 2 calls and I have to reproduce the entire dll. Is there an easy method to produce the redirect dll? Or perhaps an easier method to intercept the calls?</p>