This project has moved and is read-only. For the latest updates, please go here.

Server stops receiving messages from clients suddenly. Need your help.

Jul 15, 2015 at 3:14 AM
Hi,

First let me appreciate the excellent work you have done with this library.

I'm using it a realtime application that includes several clients connected to a server and data is exchanged between them in the form of text messages between them in realtime (mostly one message per second from each client).

Everything worked fine until I ran the program for a long time. The server suddenly stops receiving the client messages (MessageArrived stop firing) while the client keeps sending them. The connection is still active.

I also notice that this happens mostly when the data has been exchanged for a long time. It seldom happens if I restart the program after some minutes and reconnect the sockets.

Could you please help me out? Is there some buffer that gets overflowed and needs to be cleared. I did not see any such reference in the sample program.

Thank you.

Regards,

Shan
Jul 16, 2015 at 1:25 PM
There's nothing that should be causing this. Are you using the Simple sockets or the Tcp sockets?