LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tcp/ip transfer efficiency

hi of course the function handle it for you, fragmentation of the packets are managed by tcp ip.

 

To verify just try an ethernet analyzer like wire shark......

 

You will see with your eye....

0 Kudos
Message 11 of 12
(350 Views)

@Gandalf il bianco wrote:

hi of course the function handle it for you, fragmentation of the packets are managed by tcp ip.

 

To verify just try an ethernet analyzer like wire shark......

 

You will see with your eye....


You will not see any significant benefit from fragmentation or the lack of it when using UDP over TCP. Both are constrained by the packet size of Ethernet. UDP is faster since there is less overhead but you are also subject to potential data loss. With TCP you will not lose data. If you are sending large data sets TCP and UDP will be very similar in terms of packet fragmentation as both will send maximum size Ethernet packets. Again, UDP has less over head so it can stream data faster than TCP as long as you can be tolerant of potential data loss.



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 12 of 12
(348 Views)