Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: I/O competion ports in Indy?
| Subject: | Re: I/O competion ports in Indy? |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Wed, 24 May 2006 11:29:47 |
"mike" <johnson40@zonnet.nl> wrote in message
news:4474a426$1@newsgroups.borland.com...
> I am aware that it would involve extra work, but would you say
> that in a case where only control commands are send via UDP
> and the tcp connections setup after that, it could be a not so
> stupid way to do it?
It doesn't matter what you usethe UDP for. That fact that you might use UDP
for anything woudl require you to implement all of that extra work for even
the more basic of data in order to ensure reliable communications (which is
an oxymoron since UDP is not reliable to begin with).
> The order of the packets would only (really) matter if a packet
> exceeded the maximum UDP packetsize?
It would always matter. Even if you send small commands, you could send
CommandA and then CommandB afterwards, CommandB could still arrive first.
If the order of your commands is important, than that becomes a big deal.
Gambit
none