Thanks for the reply Lyndel. I thought sleep might be the issue but since the Pronto is in a dock and getting constant power it should never sleep.
I only close and set to null the socket that is passed to the 'onConnect' function after I have read the message and processed it. I never close and set to null the socket I am listening on as I assume that would hang around forever.
I have even tried to re-establish the socket I am listening on after every message, but in that process I first check if the socket exists and if it does I do not re-establish it.
Perhaps I should destroy the socket I am listening on after every message and re-establish it
Last edited by Barry Gordon on June 16, 2018 21:39.