Hello.
I have a similar problem - and still NO solution.
So here is my story.
- we have developed our application with cvi 5.5.1 and it was running well as standalone EXE.
- when we disabled some debug logs (which have nothing to do with the TCP communication) to get better performace, we started to loose TCP frames about twice an hour. (so the loosing of TCP frames may be affected by the application timing)
- we discovered that the TCP callbacks (where the databytes were read and processed) can cause some problems regarding the reentrance we cancelled the callback and implemented a reading-thread. With this approach we lost TCP frames only once an hour.
- the more debug logs we added to find the error, the less TCP frames we lost (good working - but bad performance !)
- we captured the TCP communication with a sniffer program (wireshark) and discovered, that the databytes were REALLY sent and REALLY arrived at the tcp server - but the server function ServerTCPRead does NOT deliver the bytes. So the error must be inside the cvi runtime.
- Then we upgraded to the cvi runtime 8.5 and the error seems gone (seems !)
- our application worked well as standalone executable (compiled with cvi 5.5.1) under cvi runtime 8.5 with all debug logs disabled at best peformance for over one week without any error - till today: the error occured again.
So what now ?