LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

changing port tcp

hi, i'm trying to simulate switching acquisition from two separate servers using a modified simple server and client example. im trying to do it by changing the port number in the client to the ports i have set the servers to but it will only switch if i stop and start it, is there anyway to get past this? also it now wont connect again after stopping the client even though the server is still running.

cheers
andy



0 Kudos
Message 1 of 2
(2,758 Views)
Looking at your attachment I see that this question is related to LabVIEW, so you would prefere to post it to the appropriate forum.
Anyway, in my opinion you should be able to connect to different servers opening a separate connection with each of them. I'm not so fond on LV so as to discuss it, but in Labwindows/CVI every TCP connection has a unique handle that identifies it, so it's possible to have more than one connection active at a time: I'm almost sure that LV has a similar way of differentiating several connections.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,744 Views)