Hallo Brandsum,
Thanks for the support, but unfortunately it does not solve my problem. In the thread you are referring to, I did not find a direct reference to my 'problem'. Reading the example of Erel, I added in my code in Activity_Pause: If stream.IsInitialized Then Stream.Close and If Client.IsInitialized Then Client.Close and in connect dim Client As Socket, hoping that it should improve the situation, but no success. Any more ideas?
Harry