In trying to create my own mail programs, I have discovered that a nice tcp/ip packet sniffer would be a great tool. These tools are readily available in the Unix world, but I have yet to find one for Windows. Does anyone know of any good packet sniffers for Windows, and if they do not exist, would anyone like to work with me on making one?
Even one that could only log client message sends would be better than nothing. I have two approaches in mind
1) Create a socket that will listen on a port and log all sends and receives to that port (IDEAL SOLUTION)
2) Create my own 'fake' winsock.dll (or whatever is used to send packets) that will log the messages and the pass these messages to the real winsock.dll. This approach will allow me to at least see my client message sends.
Any help would be greatly appreciated.