On Wed, Mar 12, 2003 at 04:28:15PM -0600, Scott Miller wrote: > Remember though, guys, that UDP is unreliable, so you're going to need a > protocol for determining if your message was received, or you're going > to need a timeout. Freenet was designed to be protocol agnostic, but > its probably not tuned for lossy transports.
We could simply use an ACK. A node could keep track of how long ACKs normally take, and timeout after twice the average ACK response time, falling back to TCP and noting not to try to talk to that node using UDP again. This would be better than having a one-size-fits-all timeout. Clearly, if the initial message is not correctly signed, no ACK will be sent. Ian. -- Ian Clarke ian at locut.us Coordinator, The Freenet Project http://freenetproject.org/ Founder, Locutus http://locut.us/ Personal Homepage http://locut.us/ian/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20030312/0749ec08/attachment.pgp>
