If you are not using Windows, ignore this answer.
I used Wireshark, but recently I started using Microsoft Network Monitor , which is also very nice. If you have your own protocol (which I know there is no OP), it is very easy to write your own protocol parser, which is a great PITA with Wireshark.
Graeme perrow
source share