On July 6, 2022 at 20:34, canavan said...
I had downloaded John Welfringer's TCP Mod before, but totally forgotten about it. After installing it, TCP connections are actually working in the simulator.
That is what I use these days to debug all my stuff. System.setDebugMask(9) and everything shows up on the Prontoscript console.
Be aware that there are some things that don't work on the simulator like onSleep/onWake and you must put buttons on the screen to simulate those
'Sleep'
CF.activity().onSleep();
'Wake'
CF.activity().onWake();
This makes testing your startup/shutdown logic for TCP connections based on these events very easy to write/debug.
Lyndel