I've been learning C++ in my spare time for a while now, but it hasn't really been going anywhere because I haven't had a good project to work on. So I came up with this idea that I was going to make an "assistant" program for an online game I play, that monitors packets, filters them, sends, etcetera. I think this would be something I would benefit from, as I'd teach myself a lot about the language as I did this project.
I'm stumped though, as to how I'd actually hook into a program to monitor packets sent/received from it in the first place. I googled around for a while on this to try and find some answers, read some of my e-books, and checked this site, but found null. Now I'm not looking for a complete program that does this, because that would defeat the purpose of me wanting to code it myself, and I wouldn't learn anything.
What I want to know is the basic process that is involved in reading packets from another program (I hear a dll is needed, and I've heard the word hook used, but I'm really hazy on the details), and any commands in C++ that would be relevant to doing so. I'm not sure how simple this is going to be, but I'm hoping it'll be challenging, the more I learn from it, the better. I'd really appreciate it if someone could shed some light on this for me.
This post has been edited by Musashin: 16 July 2007 - 08:19 PM