I would like to ask about code which can provide network communication through another application. I mean something like hook. I will describe it in easy way.
Target application as a client on my computer communicate with server on the internet through tcp connection. And I need to capture packets which it sends or receives and also to be able pass my own packets which I want to send on server but for the server it will seem to be the same application. So I dont need another connection. It seems to be some socket hooking but I never did anything with that.