Article View: borland.public.cppbuilder.internet.socket
Article #5701Re: Forcing Transmission of Packets
From: Hans Galema
Date: Fri, 09 Jul 2004 22:40
Date: Fri, 09 Jul 2004 22:40
33 lines
2119 bytes
2119 bytes
Joe St. Onge wrote: > I am working on an application which performs a files transfer via BB > TServerSocket. What is BB ? > When connected locally to my remote device the thruput is > great. However, when connect via WAN with 80+ Ms round trip delays the > overall thruput drops way down. What is 80+ Ms ? > The problem is that the remote device has > about a 2K buffer and windows doesn't send another packet until it see a > window size from the remote unit of at least 1K. Because of the round trip > delays, this results in the remote units buffer being emptied before it > receives the next packet. Nothing that I understand of that. > What I need to do is to modify the windows socket to send the exact number > of bytes that the remotes windows size reports, instead of waiting for the > magic 1K window size. Anyone know how to change the BB TServe Socket > operation to force it to transmit smaller packets instead of the 1K??? Who is sending packets of 1K now? You can send any small packet you want with TServersocket. (small is < 20KB). So what is going on ? What kind of device is receiving files ? Hans.
Technical Details
Message-ID:
<40ef1e8f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40eee74d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a9487aba9f7a346f X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sat, 10 Jul 2004 00:40:41 +0200 From: Hans Galema <dontusethis@dontusethis.nl> User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Forcing Transmission of Packets References: <40eee74d$1@newsgroups.borland.com> In-Reply-To: <40eee74d$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <40ef1e8f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089412751 129.125.201.248 (9 Jul 2004 15:39:11 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail