Re: UDP anybody?
The mistake taht many people make is that UDP is some sort of high speed TCP alternative. It isn't, it serves a different purpose. TCP is a streaming protocol. Its designed to send unlimited packets in the correct order. Losing a packets will nix the entire lot, so the complex retry mechanisms.
UDP is for datagrams and there whne you want to send fixed sized descrete messages. UDP is great if you ares send a large number of discrete messages with a limited lifespan. For example if i am sending real time data from a device. I do not need a resend, because if a message is lost, another one will be along. However if we send it via TCP, and it is lost, the time taken to resend the data will most likely longer than the gap between the next message.
in that context UDP and TCP works fine. the problems come in if you send realtime discrete packets via TCP and streaming data via UDP