[REBOL] Re: Rebol and UDP
From: russ::portone::com at: 25-Nov-2000 12:17
Mat, there is nothing guaranteed about UDP (as you said) since it's
essentially a "one-way" transmission. It just sends blindly and hopes the
packet gets through to someone who wants it. If you want guaranteed
connectivity, use TCP or build your own two-way acknowledgement/retry
scheme on top of UDP. I cannot say what scheme your game site uses. And
I'm not sure you can really do it easily in Rebol since I dunno if you can
access the packet identifier word. Someone more knowledgable of the
innards of Rebol would have to answer that. If not, you'd need to build
some kind of packet ID into the data format of each packet sent... create a
timeout on the sending end... resend if you didn't receive an
acknowledgement from the receiver in time, etc. Basically, build TCP!
:) Hope this helps. Russ
At 03:32 PM 11/25/00 +0000, you wrote: