Re: [twsocket] Socket throughput optimizations

2008-06-10 Thread Francois PIETTE
>> Which protocol ? > > Well, I'm basically using TCP. My client inherits from tWSocket and uses > it's own XML-based protocol to deliver data blocks of around 256kB to > the server (which is also a self-written Delphi ICS application). > > When connecting to the server app over a 1Gbps network cab

Re: [twsocket] [THTTPServer] Answers blocked ?

2008-06-10 Thread Francois PIETTE
Hi ! > Client side: Always the message "Pending" + server name. I don't know how you send the reply (since there are several ways to do it), but if you don't set ContentLength correctly, then the client may wait forever for data that will never comes. As you said it usually works, probable

Re: [twsocket] Socket throughput optimizations

2008-06-10 Thread Arno Garrels
Hi Tobias, In order to messure transmission speed I would write a small test suite including client and server. The client would send preallocated, constant data blocks in a loop and would use event OnDataSent to send the next block. The server would simply through away anything. -- Arno Garrels

Re: [twsocket] Socket throughput optimizations

2008-06-10 Thread Tobias Rapp
Francois Piette wrote: > Which protocol ? Well, I'm basically using TCP. My client inherits from tWSocket and uses it's own XML-based protocol to deliver data blocks of around 256kB to the server (which is also a self-written Delphi ICS application). When connecting to the server app over a 1Gb

[twsocket] [THTTPServer] Answers blocked ?

2008-06-10 Thread Guillaume ROQUES
Hi, we are using ICS components for a Web server, developed as a windows service, since a long time now and everything work fine. But we just install it in a hospital and found problems concerns answers from the web server. Client side: sending a request through a form, then the browser dis

Re: [twsocket] Socket throughput optimizations

2008-06-10 Thread Francois Piette
Which protocol ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Tobias Rapp" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, June 10, 2008 10:02 AM Subject: [twsocket] Socket throughput optimizations > Hi! > > I'd like to know if anybody of you ha

Re: [twsocket] Socket throughput optimizations

2008-06-10 Thread Fastream Technologies
What is the speed you want to achieve? Did you try running in a worker thread? Here we have speeds of up to 2Gbps from local-to-local! Regards, SZ On Tue, Jun 10, 2008 at 11:02 AM, Tobias Rapp <[EMAIL PROTECTED]> wrote: > Hi! > > I'd like to know if anybody of you has some suggestions about how

[twsocket] Socket throughput optimizations

2008-06-10 Thread Tobias Rapp
Hi! I'd like to know if anybody of you has some suggestions about how to tune a tWSocket-based application for data throughput. Do you change some socket buffer sizes? Like in WSocket_setsockopt(FHSocket, SOL_SOCKET, SO_SNDBUF, ...); WSocket_setsockopt(FHSocket, SOL_SOCKET, SO_RCVBUF, ...); Wh