[quote user="Chester Gillon"]With this change the tcpSendReceive program then ran reliably[/quote]
Hi Chester, not only this issue but also (I bypass the goto I never used by principle...) on opening if socket fails some way goto try close an unopened socket with consequent core dump. The UDPSendReceive too is wrong this same way.