By theory ,

It can be stated that UDP will faster as its connection less doesn’t required receiver side bothering,

but by my recent experiment I find TCP is some what giving 50% more throughput .

Theory which I formulated is, Overhead of TCP is one time. After that TCP get a connected way to pass data ,whereas UDP need to find it every time.

Also by Nagle effect which can make TCP packet immediate departure have same effect as UDP.

If so are ,then Why UDP is still in use in which condition UDP will be more useful then TCP.

More Sudhakar Mishra's questions See All
Similar questions and discussions