So I have photons running with latest 0.6.0 firmware (also tried with 0.5.3 with same behaviour) with TCPServer on the photon. The server accepts multiple clients at a time and stores it in an array of TCPClient. once the client has disconnected I replace the client in the array with NULL.
The problem that I am having is that the code works well for some time like 30mins or so (havent checked the repeatability of the time but happens sooner or later) and after that the TCPServer stops accepting any incoming clients. Feels like its hanging. Only after a reset when the server starts again does the communication resumes. During all this the cloud communication still works fine. This is causing delays in our deployment and I would appreciate any help.