I am developing web based chatting.
Right now i want to develop one to one chat within the room. I have created room and also my public chatting is working fine.
For developing private chat i am using PacketListener for listening any incoming packet of type chat.
But when i send any private message my PacketListener donot sense any other user message packet and just returns multiple copies of my send message.
I have also check with PacketCollector but i am getting same result.
Also, when i send a message immediately i listen for the message packet with either PacketListener approach or PacketCollector approach.
I am sending one of the output pattern i got.
Please kindly help me.