LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

tcp number of bytes to read

Hi,
 
I have a TCP connection between 2 computers. Is there any way to read the data without specify the number of bytes to read? Because I don't know the number of bytes before.
0 Kudos
Message 1 of 2
(2,859 Views)
You will have to implement a protocol: First send a message of a devined size containing the number of bytes that will follow in the second message.
0 Kudos
Message 2 of 2
(2,834 Views)