Re: [twsocket] WinSock error 10035 with TWSocketServer
Hi Wilfried, > It is normal that you receive an empty string once a while. Just exit > the OnDataAvailable event in that case. When data is really ready to > receive OnDataAvailable will fire again. I see your point - the other day I got the same result over and over again, today the same code works fine. I'll have to remember to build "retry" functionality into the system :) BTW, just to clarify what was happening the other day, the following result would end up with the variable 'msg' having data: void __fastcall MyClass::ClientDataAvailable(TObject *Sender, WORD ErrCode) { AnsiString msg = ((TWSocketClient*) Sender)->ReceiveStr(); } Whereas this code would result in the variable msg being empty: void __fastcall MyClass::ClientDataAvailable(TObject *Sender, WORD ErrCode) { TWSocketClient* Client = dynamic_cast(Sender); AnsiString msg = Client->ReceiveStr(); } Regards, Bevan -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Need a simple SMTP example
Hi Michael, Sorry, I sent my previous reply directly to you instead of to the list. > thanks for the hint, I already looked into the code and - by the way - I > find it very well structured. However, one question is left. There´s > always spoken about using async components, but in my special case > > isn´t it easier to use the respective sync component? In this case I think you're right, and I've been known to do that in the past as well - saves having to worry about implementing timeouts because I believe there's a timeout parameter for the Sync versions of the functions. > It is quite simple: I´m opening a query on a database, iterating through > the result set and have to send one mail for each record (= customer). I > can´t advance to the next record until the mail has been delivered, so a > sync component would be (possibly?) preferrable. And as far as I´m > understanding it, I can concatenate the sync commands rather than > advancing to the next command in OnRequestDone - am I right here? Yes, that's right, you can just run one command after the other, possibly with appropriate error checking as well. Regards, Bevan Edwards -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] FTPClient Upload/download size incorrect?
Using FtpTst demo, I upload a file from c:\dir, size 61,184. After upload, "size" indicates 60995. Download the same file, size is 61,440. Anybody know what's going on? I need the sizes to be same on upload/download. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Need a simple SMTP example
Dear community, a critical situation forces me to implement a quick way for sending mailings with ICS components (all other stuff out there won't work properly, they told me). In fact, it is a rather simple scenario - walking through a customer database and sending SMTP mails to some customers, plain text and no HTML, but with one or two attachments (PDF files). It should be accomplished using Delphi 7, and we've currently installed ICS / SmtpProt v2.38. We'd like to upgrade to the most recent version next week, but work needs to be done right now :-( Can someone point me into the right direction for completing the required tasks by showing an example or directing me to some sample files? TIA, Michael -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Throughput problem with TWSocket over a "long line"
Hello Tobias, > TCP/IP connection with high round trip times and small packet sizes If packets are < max MCU then Nagle will come in and will wait a while to see if you want to send a packet again. Nagle does this to try to concat packets to a larger one to fit into the max packet size. Specially if you use a command / ack protocol and packets are very small this will slow down a lot. Typically 4..5 packets per second in that case. To improve performance you can make your packets equal to the MTU, or switch Nagle off. There are some notes on Microsoft site about this. If you search for Nagle on MSDN you will find a lots information about that. They dont encourage to switch it off but in some cases (maybe yours) it is better. Note that you have to switch it of at both ends. oh hes: it is the TcpNoDelay option you have to switch on in TWSocket. > ~ 1.18 MB/s when using my application > ~ 1.2 MB/s when using the ICS FTP demo server > ~ 6.5 MB/s when using the Indy10 FTP demo server The ICS demo programs are not specifically written to improve speed. They are written to give a as mutch as possible clear for newcomers. A PII300 CPU can easy saturate a 100 mbps network with TWSocket. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] WinSock error 10035 with TWSocketServer
Hello Bevan, It is normal that you receive an empty string once a while. Just exit the OnDataAvailable event in that case. When data is really ready to receive OnDataAvailable will fire again. About the 10035 yo dont have to worry. This is internally handled by TWSocket. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] udp multicast multiple packages -> TWSocket bug?
Hello, I did a quick look. It seems you start (or resume one from pool) a thread and give the received data to it. Probably you give data again to a thread that is still busy with the previous data. You have to check for this somewhere because you tell about corrupted data with many threads. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Throughput problem with TWSocket over a "long cable"
Hello Dod, > Do you see any CPU overload server side during transfert ? CPU load varies from 2% to 5% while the FTP file transfer is running. /Tobias -- NOA Audio Solutions Vertriebsges.m.b.H.Tel: +43-1-5452700 Johannagasse 42/4 Fax: +43-1-545270014 A - 1050 Wien Www: http://www.noa-audio.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] HTTP/1.1 Digest auth bug was: Need help with Nov11V6Betainstallationunderbcb2006
Hello, Sorry, I still have fever. What I am talking about is HTTP/1.1 digest authentication bug (which was my original problem). If you set the demo component property to daboth, you can easily see. Best Regards, SZ - Original Message - From: "Francois Piette" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, January 12, 2007 2:00 PM Subject: Re: [twsocket] Fw: Need help with Nov11V6Betainstallationunderbcb2006 > Sorry but I don't understand the link with the message you reply to. > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > - Original Message - > From: "Fastream Technologies" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Friday, January 12, 2007 12:38 PM > Subject: Re: [twsocket] Fw: Need help with Nov > 11V6Betainstallationunderbcb2006 > > >> Hello, >> >> I think I found a bug in Java and/or ICS: I guess while testing you did > not >> set the auth mode to daBoth. Set it and try with the helloworld applet! > Java >> sends a HEAD request which is well authenticated and then sends a GET >> with >> missing info and it stalls!!! As a workaround, I set damode to daAuth. >> >> Best Regards, >> >> SZ >> >> - Original Message - >> From: "Francois PIETTE" <[EMAIL PROTECTED]> >> To: "ICS support mailing" >> Sent: Thursday, January 11, 2007 9:18 PM >> Subject: Re: [twsocket] Fw: Need help with Nov 11 >> V6Betainstallationunderbcb2006 >> >> >> >> I'm just came home, sorry but I have no time to check your vc32.zip. >> > >> > I checked his files. It worked like a charm. >> > I use BDS2006 with Update 2 installed. >> > >> > -- >> > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html >> > -- >> > [EMAIL PROTECTED] >> > http://www.overbyte.be >> > >> > >> > >> > - Original Message - >> > From: "Arno Garrels" <[EMAIL PROTECTED]> >> > To: "ICS support mailing" ; "Fastream >> > Technologies" >> > <[EMAIL PROTECTED]> >> > Sent: Thursday, January 11, 2007 7:48 PM >> > Subject: Re: [twsocket] Fw: Need help with Nov 11 V6 >> > Betainstallationunderbcb2006 >> > >> > >> > Hello SZ, >> > >> > I'm just came home, sorry but I have no time to check your vc32.zip. >> > What I did some minutes ago was downloading and installing V6 >> > to a new path, it compiled like charme in the BDS2006 BCB personality. >> > I added the SSL sources, and it again compiled w/o any problem. >> > However I used a package file attached. You must have a mixed codebase, >> > or files are missing in your package? It's your homework to find the >> > problem, >> > compare with current download, use the SSL package/project file > attached. >> > >> > --- >> > Arno Garrels [TeamICS] >> > http://www.overbyte.be/eng/overbyte/teamics.html >> > >> > >> > Fastream Technologies wrote: >> >> Hello, >> >> >> >> Has my reply to the below message appeared? With my defines, it does >> >> not work! Please see http://www.fastream.com/ics/vc32.zip . >> > >> >> >> >> - Original Message - >> >> From: "Arno Garrels" <[EMAIL PROTECTED]> >> >> To: "ICS support mailing" >> >> Sent: Wednesday, January 10, 2007 7:49 PM >> >> Subject: Re: [twsocket] Fw: Need help with Nov 11 V6 Beta installation >> >> underbcb2006 >> >> >> >> >> >>> Hello SZ, >> >>> >> >>> It compiles fine here, however I'm using the version before >> >>> support for HTTP-proxy was added to TWSocket. Have you added >> >>> OverbyteIcsWinsock2.pas to your custom package? >> >>> >> >>> --- >> >>> Arno Garrels [TeamICS] >> >>> http://www.overbyte.be/eng/overbyte/teamics.html >> >>> >> >>> >> >>> Fastream Technologies wrote: >> Resending... >> >> - Original Message - >> From: "Fastream Technologies" <[EMAIL PROTECTED]> >> To: "ICS support mailing" >> Sent: Tuesday, January 09, 2007 10:38 AM >> Subject: Need help with Nov 11 V6 Beta installation under bcb 2006 >> >> >> > Hello Francois, >> > >> > Now I downloaded directly from your web site, I have the component >> > package not compiling: >> > >> > Build >> > [Pascal Error] OverbyteIcsWinsock2.pas(159): E2003 Undeclared >> > identifier: 'TListNotification' >> > [Pascal Error] OverbyteIcsWinsock2.pas(252): E2003 Undeclared >> > identifier: 'lnDeleted' >> > [Pascal Error] OverbyteIcsWinsock2.pas(318): E2003 Undeclared >> > identifier: 'GetWinsockErr' >> > [Pascal Fatal Error] pasall.tmp(50): F2063 Could not compile used >> > unit 'C:\Program Files\ICS\Delphi\Vc32\OverbyteIcsWinsock2.pas' >> > [Fatal Error] F1027 Unit not found: 'System.pas' or binary >> > equivalents (.dcu) >> > [Fatal Error] F1027 Unit not found: 'SysInit.pas' or binary >> > equivalents (.dcu) >> > [Fatal Error] F1026 File not found: 'SysUtils.dcu' >> > [Fatal Error] F1026 File not found: 'SysUtils.dcu' >> > [Fatal Error] F1026 File not found: 'OverbyteIcsLibrary.dcu' >> > [Fatal Error] F1026 File not found: 'OverbyteIcsLibrary.dcu' >> > [Fatal Erro
Re: [twsocket] Fw: Need help with Nov 11V6Betainstallationunderbcb2006
Sorry but I don't understand the link with the message you reply to. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, January 12, 2007 12:38 PM Subject: Re: [twsocket] Fw: Need help with Nov 11V6Betainstallationunderbcb2006 > Hello, > > I think I found a bug in Java and/or ICS: I guess while testing you did not > set the auth mode to daBoth. Set it and try with the helloworld applet! Java > sends a HEAD request which is well authenticated and then sends a GET with > missing info and it stalls!!! As a workaround, I set damode to daAuth. > > Best Regards, > > SZ > > - Original Message - > From: "Francois PIETTE" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Thursday, January 11, 2007 9:18 PM > Subject: Re: [twsocket] Fw: Need help with Nov 11 > V6Betainstallationunderbcb2006 > > > >> I'm just came home, sorry but I have no time to check your vc32.zip. > > > > I checked his files. It worked like a charm. > > I use BDS2006 with Update 2 installed. > > > > -- > > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > > -- > > [EMAIL PROTECTED] > > http://www.overbyte.be > > > > > > > > - Original Message - > > From: "Arno Garrels" <[EMAIL PROTECTED]> > > To: "ICS support mailing" ; "Fastream Technologies" > > <[EMAIL PROTECTED]> > > Sent: Thursday, January 11, 2007 7:48 PM > > Subject: Re: [twsocket] Fw: Need help with Nov 11 V6 > > Betainstallationunderbcb2006 > > > > > > Hello SZ, > > > > I'm just came home, sorry but I have no time to check your vc32.zip. > > What I did some minutes ago was downloading and installing V6 > > to a new path, it compiled like charme in the BDS2006 BCB personality. > > I added the SSL sources, and it again compiled w/o any problem. > > However I used a package file attached. You must have a mixed codebase, > > or files are missing in your package? It's your homework to find the > > problem, > > compare with current download, use the SSL package/project file attached. > > > > --- > > Arno Garrels [TeamICS] > > http://www.overbyte.be/eng/overbyte/teamics.html > > > > > > Fastream Technologies wrote: > >> Hello, > >> > >> Has my reply to the below message appeared? With my defines, it does > >> not work! Please see http://www.fastream.com/ics/vc32.zip . > > > >> > >> - Original Message - > >> From: "Arno Garrels" <[EMAIL PROTECTED]> > >> To: "ICS support mailing" > >> Sent: Wednesday, January 10, 2007 7:49 PM > >> Subject: Re: [twsocket] Fw: Need help with Nov 11 V6 Beta installation > >> underbcb2006 > >> > >> > >>> Hello SZ, > >>> > >>> It compiles fine here, however I'm using the version before > >>> support for HTTP-proxy was added to TWSocket. Have you added > >>> OverbyteIcsWinsock2.pas to your custom package? > >>> > >>> --- > >>> Arno Garrels [TeamICS] > >>> http://www.overbyte.be/eng/overbyte/teamics.html > >>> > >>> > >>> Fastream Technologies wrote: > Resending... > > - Original Message - > From: "Fastream Technologies" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Tuesday, January 09, 2007 10:38 AM > Subject: Need help with Nov 11 V6 Beta installation under bcb 2006 > > > > Hello Francois, > > > > Now I downloaded directly from your web site, I have the component > > package not compiling: > > > > Build > > [Pascal Error] OverbyteIcsWinsock2.pas(159): E2003 Undeclared > > identifier: 'TListNotification' > > [Pascal Error] OverbyteIcsWinsock2.pas(252): E2003 Undeclared > > identifier: 'lnDeleted' > > [Pascal Error] OverbyteIcsWinsock2.pas(318): E2003 Undeclared > > identifier: 'GetWinsockErr' > > [Pascal Fatal Error] pasall.tmp(50): F2063 Could not compile used > > unit 'C:\Program Files\ICS\Delphi\Vc32\OverbyteIcsWinsock2.pas' > > [Fatal Error] F1027 Unit not found: 'System.pas' or binary > > equivalents (.dcu) > > [Fatal Error] F1027 Unit not found: 'SysInit.pas' or binary > > equivalents (.dcu) > > [Fatal Error] F1026 File not found: 'SysUtils.dcu' > > [Fatal Error] F1026 File not found: 'SysUtils.dcu' > > [Fatal Error] F1026 File not found: 'OverbyteIcsLibrary.dcu' > > [Fatal Error] F1026 File not found: 'OverbyteIcsLibrary.dcu' > > [Fatal Error] F1026 File not found: 'OverbyteIcsTypes.dcu' > > [Fatal Error] F1026 File not found: 'OverbyteIcsTypes.dcu' > > [Fatal Error] F1026 File not found: 'OverbyteIcsWinsock.dcu' > > [Fatal Error] F1026 File not found: 'OverbyteIcsWinsock.dcu' > > [Fatal Error] F1026 File not found: 'OverbyteIcsWSocket.dcu' > > [Fatal Error] F1026 File not found: 'OverbyteIcsWSocket.dcu' > > [Fatal Error] F1027 Unit not found: 'SysInit.pas' or binary > > equivalents (.dcu) > > Search for 'TListNotification' > > C:\Program Files\ICS\Delphi\Vc32\OverbyteIcsWinsock2.pas >
Re: [twsocket] Fw: Need help with Nov 11 V6Betainstallationunderbcb2006
Hello, I think I found a bug in Java and/or ICS: I guess while testing you did not set the auth mode to daBoth. Set it and try with the helloworld applet! Java sends a HEAD request which is well authenticated and then sends a GET with missing info and it stalls!!! As a workaround, I set damode to daAuth. Best Regards, SZ - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, January 11, 2007 9:18 PM Subject: Re: [twsocket] Fw: Need help with Nov 11 V6Betainstallationunderbcb2006 >> I'm just came home, sorry but I have no time to check your vc32.zip. > > I checked his files. It worked like a charm. > I use BDS2006 with Update 2 installed. > > -- > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > > - Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" ; "Fastream Technologies" > <[EMAIL PROTECTED]> > Sent: Thursday, January 11, 2007 7:48 PM > Subject: Re: [twsocket] Fw: Need help with Nov 11 V6 > Betainstallationunderbcb2006 > > > Hello SZ, > > I'm just came home, sorry but I have no time to check your vc32.zip. > What I did some minutes ago was downloading and installing V6 > to a new path, it compiled like charme in the BDS2006 BCB personality. > I added the SSL sources, and it again compiled w/o any problem. > However I used a package file attached. You must have a mixed codebase, > or files are missing in your package? It's your homework to find the > problem, > compare with current download, use the SSL package/project file attached. > > --- > Arno Garrels [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > > > Fastream Technologies wrote: >> Hello, >> >> Has my reply to the below message appeared? With my defines, it does >> not work! Please see http://www.fastream.com/ics/vc32.zip . > >> >> - Original Message - >> From: "Arno Garrels" <[EMAIL PROTECTED]> >> To: "ICS support mailing" >> Sent: Wednesday, January 10, 2007 7:49 PM >> Subject: Re: [twsocket] Fw: Need help with Nov 11 V6 Beta installation >> underbcb2006 >> >> >>> Hello SZ, >>> >>> It compiles fine here, however I'm using the version before >>> support for HTTP-proxy was added to TWSocket. Have you added >>> OverbyteIcsWinsock2.pas to your custom package? >>> >>> --- >>> Arno Garrels [TeamICS] >>> http://www.overbyte.be/eng/overbyte/teamics.html >>> >>> >>> Fastream Technologies wrote: Resending... - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, January 09, 2007 10:38 AM Subject: Need help with Nov 11 V6 Beta installation under bcb 2006 > Hello Francois, > > Now I downloaded directly from your web site, I have the component > package not compiling: > > Build > [Pascal Error] OverbyteIcsWinsock2.pas(159): E2003 Undeclared > identifier: 'TListNotification' > [Pascal Error] OverbyteIcsWinsock2.pas(252): E2003 Undeclared > identifier: 'lnDeleted' > [Pascal Error] OverbyteIcsWinsock2.pas(318): E2003 Undeclared > identifier: 'GetWinsockErr' > [Pascal Fatal Error] pasall.tmp(50): F2063 Could not compile used > unit 'C:\Program Files\ICS\Delphi\Vc32\OverbyteIcsWinsock2.pas' > [Fatal Error] F1027 Unit not found: 'System.pas' or binary > equivalents (.dcu) > [Fatal Error] F1027 Unit not found: 'SysInit.pas' or binary > equivalents (.dcu) > [Fatal Error] F1026 File not found: 'SysUtils.dcu' > [Fatal Error] F1026 File not found: 'SysUtils.dcu' > [Fatal Error] F1026 File not found: 'OverbyteIcsLibrary.dcu' > [Fatal Error] F1026 File not found: 'OverbyteIcsLibrary.dcu' > [Fatal Error] F1026 File not found: 'OverbyteIcsTypes.dcu' > [Fatal Error] F1026 File not found: 'OverbyteIcsTypes.dcu' > [Fatal Error] F1026 File not found: 'OverbyteIcsWinsock.dcu' > [Fatal Error] F1026 File not found: 'OverbyteIcsWinsock.dcu' > [Fatal Error] F1026 File not found: 'OverbyteIcsWSocket.dcu' > [Fatal Error] F1026 File not found: 'OverbyteIcsWSocket.dcu' > [Fatal Error] F1027 Unit not found: 'SysInit.pas' or binary > equivalents (.dcu) > Search for 'TListNotification' > C:\Program Files\ICS\Delphi\Vc32\OverbyteIcsWinsock2.pas >C:\Program Files\ICS\Delphi\Vc32\OverbyteIcsWinsock2.pas(159): > procedure Notify(Ptr: Pointer; Action: TListNotification); > override;C:\Program > Files\ICS\Delphi\Vc32\OverbyteIcsWinsock2.pas(249): procedure > TInterfaceList.Notify(Ptr: Pointer; Action: TListNotification); > > I have NOFORMS;NO_DEBUG_LOG;USE_SSL;SECURITY_WIN32; defined. Do you > have any idea what can I do? Could you try to do the same and try > to install the > latest package under BCB2006 please? > > Regards, > > SZ >>> -- >>> To unsubscribe or
Re: [twsocket] Throughput problem with TWSocket over a "long line"
Hello Tobias, Do you see any CPU overload server side during transfert ? regards. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Throughput problem with TWSocket over a "long line"
Hello Dod, > Are you using ICS in sync or async mode ? I'm using ICS in async (event driven) mode in my application. The file is sent in fragments of 256KB in the OnDataSent event handler. > Do yo use same buffer and write-to-disk as Indy ? When comparing ICS and Indy I did not use my application but the standard FTP server examples that came with both component packages and thus I'm not sure what buffering technique is used inside the Indy FTP server component (it seems to be quite complex when looking at it's source). The FTP client used for comparing both applications was the standard MS commandline FTP client on Windows2003 (BTW: the serving application was also run on Windows2003 in all cases). > Do you use multi-threading or not ? I use multi-threading (each client has a separate thread) in my application but I know that the ICS FTP server does not use multi-threading. > Is it binary or text file (I guess it is text file as you said "long > line" in the subject ? It is a binary file of 128MB random data that I used for delivery. The "long line" in the subject is bad translation and should be corrected to "long cable", I think. Tobias -- NOA Audio Solutions Vertriebsges.m.b.H.Tel: +43-1-5452700 Johannagasse 42/4 Fax: +43-1-545270014 A - 1050 Wien Www: http://www.noa-audio.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Throughput problem with TWSocket over a "long line"
Hello Tobias, Are you using ICS in sync or async mode ? Do yo use same buffer and write-to-disk as Indy ? Do you use multi-threading or not ? Is it binary or text file (I guess it is text file as you said "long line" in the subject ? Regards. TR> I have a throughput/performance problem using the latest stable version TR> of the ICS package. When using a TWSocket derived application over an TR> TCP/IP connection with high round trip times and small packet sizes (it TR> is an 155 MBit ATM line) the throughput is very low. To check, if there TR> is a general problem in my application I also checked the throughput TR> with the FTP Server example and further with an FTP Server example from TR> the Indy10 component package. TR> The results for delivering a file over the line was: TR> ~ 1.18 MB/s when using my application TR> ~ 1.2 MB/s when using the ICS FTP demo server TR> ~ 6.5 MB/s when using the Indy10 FTP demo server TR> What can I do to improve the throughput in my application? Are there any TR> known tweaks? TR> I'd like to avoid changing to Indy because I like the clear and simple TR> structured sources of ICS. TR> Please share your thoughts, TR> Tobias TR> -- TR> NOA Audio Solutions Vertriebsges.m.b.H.Tel: +43-1-5452700 TR> Johannagasse 42/4 Fax: +43-1-545270014 TR> A - 1050 Wien Www: http://www.noa-audio.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Throughput problem with TWSocket over a "long line"
Hi! I have a throughput/performance problem using the latest stable version of the ICS package. When using a TWSocket derived application over an TCP/IP connection with high round trip times and small packet sizes (it is an 155 MBit ATM line) the throughput is very low. To check, if there is a general problem in my application I also checked the throughput with the FTP Server example and further with an FTP Server example from the Indy10 component package. The results for delivering a file over the line was: ~ 1.18 MB/s when using my application ~ 1.2 MB/s when using the ICS FTP demo server ~ 6.5 MB/s when using the Indy10 FTP demo server What can I do to improve the throughput in my application? Are there any known tweaks? I'd like to avoid changing to Indy because I like the clear and simple structured sources of ICS. Please share your thoughts, Tobias -- NOA Audio Solutions Vertriebsges.m.b.H.Tel: +43-1-5452700 Johannagasse 42/4 Fax: +43-1-545270014 A - 1050 Wien Www: http://www.noa-audio.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be