LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How long a message can be sent via TCP using the TCP Read VI?

Hello,
How long can be a message sent between a TCP server and a TCP client using the TCP Read VI (LV2013)? There is a certain limit?

 

Thank you.

0 Kudos
Message 1 of 5
(3,101 Views)

How long means, do you mean the length of the message?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 5
(3,085 Views)

I think it just depends on your hardware's buffer size.  TCP sets limits on the size of packets that can be seent.  What are you trying to do?



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(3,033 Views)
Yes, how much data are you wanting to send in one message? TCP/IP doesn't have any inherent limits since it automatically breaks up long messages into shorter packets that are reassembled at the receiver.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(3,017 Views)

Thank you for the information.

 

I have to send an array of clasters. Let say 200 elements, each element contains one I32, one DBL and a string with an avarge leght of 16 ASCII characters. All these flated to string can be around 5000bytes. As you mantion isn't my concern about fragmentation, the TCP protocol will make this for me.

On the other hand, the TCP Read VI has a mode option (Standrd, Baffered, CRLF and Immediate). If I use Immediate mode with 10000 charcaters (more then I expected), will reteurn it the 5000 charcters in one block? But I can check my self this isue...

 

Thank you again.

0 Kudos
Message 5 of 5
(2,986 Views)