I would like to see the protocol used by client-server application in real-time. I'm not interested in any statistics. All I want to see is the message sent by server and the client. This is FreeBSD specific if that helps.After some googling I found tcpdump as the right choice. So I tried to run it on my server but couldn't narrow down the packet contents specific to my application. Its a bunch of text scrolling live. The real communication of my application is not that heavy enough to lose track when it gets displayed on terminal.
I guess I may be not providing enough information. If something is needed please add a comment. I'll respond quickly.
Any help or pointers is highly appreciated.