12-20-2016 12:36 AM - edited 12-20-2016 12:52 AM
Hi everyone,
I'm facing an issue in using TCP for exchanging data between a LabWindows CVI server and LabVIEW client program, both running on different PC's connected directly via LAN. Basic setup of the program is as below.
Everything works as expected for about 20-30 minutes. But after that, at any time CVI server could throw up a timeout error (err -11) at ServerTCPWrite function. It has been observed that the this time is considerably reduced if server sends more amount of data per second. So i guessed it has something to do with underlying TCP buffers on either sides.
I came across this document from NI website.
http://digital.ni.com/public.nsf/allkb/A6ABC151D525C38586256B8400559CC5..
This mentions about increasing window size. But i'm not sure whether this has to be done for my application to work. In addition , i thought of monitoring the TCP transfers using Wireshark (a newtork sniffer) and observed that after 20 mins, TCP window size is reduced to zero. But it will still work for some more time before the sever timesout.
I hope that i have provided enough details regarding the issue faced. Let me know if any further details are requred.
Best Regards
Deepu Jacob
12-21-2016 11:07 PM
Hi,
Has anyone faced any similar issue whle using TCP communication?
Best Regards
Deepu Jacob
12-29-2016 12:08 AM
link to wire shark log file: https://drive.google.com/file/d/0B5qRLNgt2WANOW5weDlScTU4dlE/view?usp=sharing