Thanks for this. I have watched the video and amended the main loop to look like this:
void loop() {
unsigned long now;
//simualtes doing somthing
strcpy(_msgTxt, "\0");
for (int i = 0; i < 10; i++) strcat(_msgTxt, "0123456789");
now = millis();
//send the output and get any input
if ((now - _laststep) > DELAY) {
_laststep = now;
Snd();
}
It is better code, thanks, but it unfortunately does not change the issue with the TCP/IP.