We have a TCP/IP client/server setup with a PC as the server and a PicoComA5 as the client. For testing, the server is continuously sending messages to the PicoCom client and the client acknowledges the message with a short answer. This works well but for some reason the client program hangs after 2-3 days (after around 100,000 messages). Actually, not only the client program hangs, the whole PicoCom (Windows) locks up - nothing work, not even the COM1 communication. The only way to get the PicoCom back is to cycle the power.
We are using a Win6CE and Visual Studio 2008.
Any ideas what causes the hang? Our client/server programs are both quite simple and still this strange hang - seems like something is not quite right with the TCP/IP implementation on the PicoCom side. It's not, or probably not, a memory leak because we have tried allocating a lot of memory before the test starts and the hang still happens after 2-3- days, not sooner (as you would expect if it was memory caused).