[REBOL] Re: Rebol and UDP
From: mat:eurogamer at: 25-Nov-2000 18:16
Heya Russ,
R> packet gets through to someone who wants it. If you want guaranteed
R> connectivity, use TCP or build your own two-way acknowledgement/retry
R> scheme on top of UDP.
Well that's my point, I don't know if the high level Rebol UDP support
does this for you or not. If it doesn't, it'd be fairless useless as
you can't get access to packet ids like you said.
R> some kind of packet ID into the data format of each packet sent... create a
R> timeout on the sending end... resend if you didn't receive an
R> acknowledgement from the receiver in time, etc. Basically, build TCP!
Quite. The game uses UDP so TCP isn't an option. It's fairly academic
since my use now is to a server on the same box so it's more or less
guaranteed to work.
--
Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
http://www.eurogamer.net | http://www.eurogamer-network.com