I want to add a small wrapper around the socket calls, to do
my own things. I was told I can load the dll in front of winsocks
and therefore provide my own set of functions. For example:

application calls socket(), I want to replace it with my own version of
socket() and then call winsocks socket. How do I do that, is it possible?
Please help.