Thread View: borland.public.cppbuilder.internet.socket
1 messages
1 total messages
Started by dondora
Sat, 17 Nov 2007 09:31
Network timeout estimation
Author: dondora
Date: Sat, 17 Nov 2007 09:31
Date: Sat, 17 Nov 2007 09:31
26 lines
2019 bytes
2019 bytes
Hi there. I need your help. I'm coding a simple program which provides reliable transmission using udp as a homework. I'm going to use expressions used in TCP timeout estimation. Let me show those expressions. EstimatedRTT = (1 - a) * EstimatedRTT + a * SampleRTT (the recommended a = 0.125) DevRTT = (1 - b) * DevRTT + b * |SampleRTT - EstimatedRTT| (the recommended b = 0.25) TimeoutInterval = EstimatedRTT + 4 * DevRTT What I really want is TimeoutInterval. But to get it, I have to know EstimatedRTT and DevRTT, and the real problem is at initial time, at which time nothing has done like sening a packet and receiving a ACK) I don't know what EstimatedRTT is to be and what DevRTT is to be. Can you help me to solve this problem? I'll appreciate that. I really need your help~!~! please~!~!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads