Hi SZ, You were right, many thanks. And modifications automatically done when opening BCB6 projects in CB2007 edi seem to work fine. Waoooh ! Regards Gerard Colo Logic Systems [EMAIL PROTECTED]
-----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de [EMAIL PROTECTED] Envoyé : vendredi 20 juin 2008 14:00 À : twsocket@elists.org Objet : TWSocket Digest, Vol 274, Issue 2 Send TWSocket mailing list submissions to twsocket@elists.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of TWSocket digest..." Today's Topics: 1. ICS and C++ 2007 (Gerard Colo) 2. Re: ICS and C++ 2007 (Fastream Technologies) 3. Re: Socket throughput optimizations (Olivier Sannier) 4. Vista is the culprit and TIMEOUT implementation (Cyman73) 5. Re: Vista is the culprit and TIMEOUT implementation (Arno Garrels) 6. Re: Socket throughput optimizations (Francois PIETTE) ---------------------------------------------------------------------- Message: 1 Date: Thu, 19 Jun 2008 15:03:44 +0200 From: Gerard Colo<[EMAIL PROTECTED]> Subject: [twsocket] ICS and C++ 2007 To: <twsocket@elists.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Hello dear list Do you think that the last ICS version available on overbyte.be (qualified as supporting all Delphi and BCB versions) can be used with C++ Builder 2007 from CodeGear ? After downloading and unpacking it, I found instructions in the readme.txt file, but the topics are stopping after "CBuilder 2006". If the answer to the previous question is yes, can I apply instructions for CBuilder 2006 to CBuilder 2007 ? TIA Regards Gerard Colo Logic Systems [EMAIL PROTECTED] ------------------------------ Message: 2 Date: Thu, 19 Jun 2008 16:26:38 +0300 From: "Fastream Technologies" <[EMAIL PROTECTED]> Subject: Re: [twsocket] ICS and C++ 2007 To: "ICS support mailing" <twsocket@elists.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Hi, We use ICS-(SSL) under BCB2007 successfully for our C++ projects. I think the latest v6 beta includes a package project for it. If not, it's not a big deal to build yur own project. Regards, SZ On Thu, Jun 19, 2008 at 4:03 PM, Gerard Colo <[EMAIL PROTECTED]> wrote: > Hello dear list > > > > Do you think that the last ICS version available on overbyte.be (qualified > as supporting all Delphi and BCB versions) can be used with C++ Builder > 2007 > from CodeGear ? > > After downloading and unpacking it, I found instructions in the readme.txt > file, but the topics are stopping after "CBuilder 2006". If the answer to > the previous question is yes, can I apply instructions for CBuilder 2006 to > CBuilder 2007 ? > > > > TIA > > > > Regards > > > > Gerard Colo > > Logic Systems > > [EMAIL PROTECTED] > > > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > ------------------------------ Message: 3 Date: Thu, 19 Jun 2008 15:56:41 +0200 From: Olivier Sannier <[EMAIL PROTECTED]> Subject: Re: [twsocket] Socket throughput optimizations To: ICS support mailing <twsocket@elists.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Francois PIETTE wrote: > Here are a few ideas to get high performances: > 4) Enlarge winsock buffers > 5) Enlarge TWSocket send buffer (BufSize property) to mach actual network > packet size. By default BufSize is the size of a standard ethernet packet. > What values would you recommend for a 802.11 100Mbps network? > 6) Avoid dynamic memory allocation as much as possible, including long > strings and dynamic arrays. > Why is that? Thanks for your answers. ------------------------------ Message: 4 Date: Thu, 19 Jun 2008 08:08:21 -0700 (PDT) From: Cyman73 <[EMAIL PROTECTED]> Subject: [twsocket] Vista is the culprit and TIMEOUT implementation To: twsocket@elists.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 Hello, After doing more research, I determined that the Vista?IS the culprit.? I am already working with a slow server connection and the Microsoft Vista?TCP autotuning made the connection even slower, slow enough to TIMEOUT.? I wasn't?experiencing a TIMEOUT with XP.? After I disabled autotuning, chimney, and rss my application worked on Vista just as it worked on XP. (netsh interface tcp set global autotuning=disabled netsh interface tcp set global chimney=disabled netsh interface tcp set global rss=disabled) ? I do have a new question:? I could not determine if HttpCli component has a TIMEOUT property.? My current TIMEOUT implementation is as follows: ? bHttpCliBusy := True;? // This variable get set to False in HttpCli1 OnRequestDone HttpCli1.GetAsync; ? // Procedure that waits for either 30 seconds to elapse or?bHttpCliBusy=False Client1BusyTimeout(30); Is there a different way to implement a Timeout with the HttpCli1. ? Thank you. ? ------------------------------ Message: 5 Date: Thu, 19 Jun 2008 19:10:31 +0200 From: "Arno Garrels" <[EMAIL PROTECTED]> Subject: Re: [twsocket] Vista is the culprit and TIMEOUT implementation To: "ICS support mailing" <twsocket@elists.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Cyman73 wrote: > (netsh interface tcp set global autotuning=disabled > netsh interface tcp set global chimney=disabled > netsh interface tcp set global rss=disabled) Good to know, but I guess it's more a problem with older routers instead of a general Vista bug. Why did you disable tcp chimney as well, is it realy required? > I do have a new question: I could not determine if HttpCli component > has a TIMEOUT property. My current TIMEOUT implementation is as > follows: It doesn't have one. > bHttpCliBusy := True; // This variable get set to False in HttpCli1 > OnRequestDone > HttpCli1.GetAsync; > > // Procedure that waits for either 30 seconds to elapse or > bHttpCliBusy=False > Client1BusyTimeout(30); That sounds evil, depending on the code in Client1BusyTimeout() you will slow down performance. And what happens on downloading a big file or when data is received very slow? It's much better to write GetTickCount() into a variable anytime something is received and let a timer check this variable, for example, every 5 seconds. -- Arno Garrels ------------------------------ Message: 6 Date: Thu, 19 Jun 2008 21:35:49 +0200 From: "Francois PIETTE" <[EMAIL PROTECTED]> Subject: Re: [twsocket] Socket throughput optimizations To: "ICS support mailing" <twsocket@elists.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original >> Here are a few ideas to get high performances: >> 4) Enlarge winsock buffers >> 5) Enlarge TWSocket send buffer (BufSize property) to mach actual network >> packet size. By default BufSize is the size of a standard ethernet >> packet. >> > What values would you recommend for a 802.11 100Mbps network? At first glance, a multiple of the physical packet size (MTU). >> 6) Avoid dynamic memory allocation as much as possible, including long >> strings and dynamic arrays. >> > Why is that? Memory allocation is a [relatively] slow process and tend to fragment memory which makes it even slower. Using FastMM enhance the behaviour but it is still there. Long strings and dynamic array are just dynamic memory allocation whitout naming it. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be ------------------------------ _______________________________________________ To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be End of TWSocket Digest, Vol 274, Issue 2 **************************************** -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be