LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to user tcp send and receive a array?

i want user the tcp server to send a array to the tcp client .but i don't konw how to get the array's length.the system prompt :"the tcp server input is inviod "
0 Kudos
Message 1 of 2
(2,879 Views)
The shipping examples called Simple Data Server and Simple Data Client send and receive an array. Because you do a type case of the array to a string, you use the string length function and send that before you send the array. At the client, you read the length first and that is used to specify the byte count of TCP Read.
0 Kudos
Message 2 of 2
(2,869 Views)