I've searched for this, I came to know WinPCap, but I still didn't get the answer I needed. WinPCap can monitor packets, and seems not to give a track to processes (I don't know much about it).
I want my application to listen to every HTTP request made from certain processes (usually the ones from browsers which I will define later), and modify them if necessary.
My application is originally written in Delphi, but any help in C++ would also be cool. Can anyone help me with this?
Edit 1: Of course I don't expect you to give me an answer according to winPcap necessarily!