Capturing chat massages

Hi

Could someone tell me a way to capture massages sent by user. Currently I am using packetintercepter for this purpose and , But when user sent a message packetintercepter class is capturing this packet multiple times. so could someone help me to find better way to capture only the packet which are correspond to the communication between two users or groups. really appriciate any help.

Hi,

You can captured it by using Wireshark, its free. try google it…

Thanks.