Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: TidUDPServer question
| Subject: | Re: TidUDPServer question |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Fri, 2 Jun 2006 15:54:36 |
"Jamie Dale" <j.dale@turboz.net> wrote in message
news:4480b39b$1@newsgroups.borland.com...
> Personally I've never used UDP. Apparently its useful for chat rooms
> and stuff but TCP (I'm told) is better for individual connections and
> handling them individually - Remy/Gambit can probably advise better....
UDP is for cases where you don't care whether data ever arrives at all, or
arrives corrupted or in the wrong order (think of streaming audio/video, for
example), or if you have to broadcast data to a lot of clients on a network
very quickly. TCP, on the other hand, is for cases where you need reliable
and predictable transmissions and don't need very much broadcasting
Gambit