Sample TCP Server


I’ve implemented the sample TCP server in my application, but I’m getting some problems. Sometimes when I connect to the server, I get the first packet and then I’m disconnected with the an asynchronous error. It happens a couple of times, then I don’t have any problems connecting.

I’m suspecting the thread creation in the TCPserver to be the problem…

Have anyone experienced similar problems?

I’m using NETOS 7.1