Recording outgoing packets from an external program

Newbie Member
30Oct2006,19:05   #1
Tart's Avatar
Hi, I'm a C++ newbie. How do I record the packets that are being sent from an external program to a server?
Newbie Member
5Nov2006,08:57   #2
jamieplucinski's Avatar
There are several libraries that allow you to do this, and also some open-source tools like Ethereal that allows packet logging. Ethereal is a great and well-tested piece of software that runs on a variety of platforms. Grab some of their code and read through, I'm sure you'll find your answer there