Hi guys,
I need your opinion in relation to reading some data over a socket connection.
So, I have a server running on the local host and I have created a client with Labview to communicate with this server. I can read/write to and from server under normal conditions. But I'm facing an error when I try to read when the data is not available from server. TCP-Read function generates an error at this instance. Is it possible to check first before trying to read and read only if data available ? What is the best way to handle this situation ?
Thanks in advance.