LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP

Hi,

We are using "simple tcp" example. We changed something in the program to prevent the server.vi from stopping when we stopped client.vi. After we run the server, the client.vi can run in the first time, the problem is when we stopped the client.vi and run it again it can't work successfully, the error code is 56.

I would appricate it if someone can help us solve this problem. Thank you!

 

Download All
0 Kudos
Message 1 of 2
(1,972 Views)

Your modification to the server example is incorrect. After the client closes the connection the server has to go back to listening for a connection. All you have done is stop the data loop from exiting when the client closes the connection.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 2
(1,933 Views)