Article View: borland.public.cppbuilder.internet.socket
Article #713Network timeout estimation
From: 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~!~!
Technical Details
Message-ID:
<36aeea13-1061-4f99-93a2-44c5f28175f0@b40g2000prf.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!b40g2000prf.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,48c12db17e15e72d,start X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!b40g2000prf.googlegroups.com!not-for-mail From: dondora <koninja@hanmail.net> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Network timeout estimation Date: Sat, 17 Nov 2007 01:31:29 -0800 (PST) Organization: http://groups.google.com Lines: 26 Message-ID: <36aeea13-1061-4f99-93a2-44c5f28175f0@b40g2000prf.googlegroups.com> NNTP-Posting-Host: 211.223.61.70 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1195291889 7435 127.0.0.1 (17 Nov 2007 09:31:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 17 Nov 2007 09:31:29 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b40g2000prf.googlegroups.com; posting-host=211.223.61.70; posting-account=SpcdAgoAAABg64jAkD0x82k53x1esy42 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; InfoPath.2),gzip(gfe),gzip(gfe) Content-Disposition: inline