Do UDP sockets perform better than TCP sockets and should they be used if the application permits?
A. Our tests show that UDP has much less overhead than TCP (up to 40 percent less) and our benchmarks show excellent performance and throughput using UDP sockets. If the application permits using UDP or if TCP is performance constrained, then we would suggest considering using UDP. Many voice, multimedia and streaming media applications are migrating to directly or indirectly using UDP or raw transmission services from the IP layer. Real-time and/or high bandwidth, low latency protocols including UDT, RTP and HighSpeed TCP may also be a good alternative to TCP.