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                                                  [EMAIL PROTECTED]
Coordinator, The Freenet Project              http://freenetproject.org/
Founder, Locutus                                        http://locut.us/
Personal Homepage                                   http://locut.us/ian/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to