Would anyone happen to know of a nice tutorial that explained how the recording of packets from another application is done? For instance, the following question is one of many that I have: How would I write an application to record the packets being sent/received in the Browser? Or perhaps the packets being sent/received in another application? I may start work on a program that will need such capabilities. However I have no clue how such a task is performed. I'll begin to look in Google and see if I have any luck, but I'd greatly appreciated it if someone who knows about this could explain to me how it is done. Or could simply post a link that explains it.
Update: I just learned of libpcap.
Update: My problem is solved, I found a link for this at http://www.tcpdump.org/pcap.htm.
Yep, I was about to tell you to look up libpcap. As far as I know, that's the only library that's been written to do that.