Help intercepting datagrams being sent to and from server?
I have a program on my computer that sends and receives information to and from a server. I want to write a program that can intercept the information being sent to the program from the server and consequently interpret and understand what has been received and send back the appropriate data.
My question may sound vague because of my lack of appropriate terminology and that's been the biggest problem when trying to Google. If you don't even know the proper words to use when Googling how can you find what you're looking for? I tried the term Websniffer and I got sites showing me how to create/buy hardware so I don't think that's what I'm trying to make.
Anyways if someone can point me in the right direction It would be greatly appreciated!