Re: [twsocket] Built-in timeout questions

2011-02-07 Thread Anton S.
Thanks Arno, I followed your advices and successfully solved both issues. Regarding timer I'll try ThreadTimer as I don't need precise resolution here -- Anton -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket

Re: [twsocket] Error with SSLWSocketClient

2011-02-07 Thread daniel cc
Hi Arno, Thanks for your precise comments. The security issue in my case is not very high because this is just a server client communication with nothing sensetive (no money transfer or credit cards or personal info etc.) I will use a commercial Certificate of 3 years valid and hoping that it wi

Re: [twsocket] Error with SSLWSocketClient

2011-02-07 Thread Fastream Technologies
On Sun, Feb 6, 2011 at 10:34 PM, Arno Garrels wrote: > ... > Obviously, security isn't your special subject. > I think I have learned a lot about SSL via the OpenSSL book and this list while developing. As you may remember we were the company who suggested to start the ICS-SSL project back in 200

Re: [twsocket] ICS and XE Starter Editions

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
> I wonder if anybody already managed to install and run ICS in the > new Delphi/C++ Builder XE Starter Editions yet? Any problems? Difficult to test, since XE Starter can not be installed if another edition is already there, so it needs a new VM, which takes time. According to the newsgroups,

Re: [twsocket] HttpCli, bandWidthLimit ?

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
> It's a great news for me ! >> Bandwidth throttling is now implemented in the HTTP Client and >> Server Just be aware the absolute bandwidth speeds may be 20% different from my various testing. I was testing at 1 and 5 megs, and got 0.8 and 4.7 meg speeds, but still much better than the 50 to 1

Re: [twsocket] HttpCli, bandWidthLimit ?

2011-02-07 Thread Fastream Technologies
In our tests, I have witnessed that making throttling code 99+% precise in async sockets is very difficult (or impossible). It needs a Sleep() call to do that which in turn requires a thread per socket. Regards, SZ On Mon, Feb 7, 2011 at 11:55 AM, Angus Robertson - Magenta Systems Ltd < an...@mag

[twsocket] Transparent HTTP proxy-support TWSocket

2011-02-07 Thread Arno Garrels
Hi All!, I added transparent HTTP 1.1 proxy-support to TWSocket at the weekend including Basic and NTLM authentication, it's not committed yet. Well, tested only with a 30 days trial version of WinGate that understands HTTP 1.1. I wonder whether HTTP 1.0 proxy-support is still required? What do yo

[twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi, I am using your ICS socket componet for c++ builder 6 . I test lot but TWSocket Component not sending the data more than 1460 bytes at a time . what is the maximum size how can use and how??. also how many max clients it can handle in server mode . I have server 2003 with core to quad cp

Re: [twsocket] Transparent HTTP proxy-support TWSocket

2011-02-07 Thread Francois PIETTE
I added transparent HTTP 1.1 proxy-support to TWSocket at the weekend including Basic and NTLM authentication, it's not committed yet. That is a nice addition to ICS. Well, tested only with a 30 days trial version of WinGate that understands HTTP 1.1. I wonder whether HTTP 1.0 proxy-support is

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Francois PIETTE
I am using your ICS socket componet for c++ builder 6 . I test lot but TWSocket Component not sending the data more than 1460 bytes at a time . what is the maximum size how can use and how??. I guess you are using UDP not TCP. The maximum size of a UDP datagram TWsoc²ket can send is defined

Re: [twsocket] HttpCli, bandWidthLimit ?

2011-02-07 Thread Bruno Mannina
Is the Zip file is available on the website ? I can't find it, it always shows *[* Download ICS-V7 Distribution (October, 2010) *]* Regards, Bruno Le 07/02/2011 11:17, Fastream Technologies a écrit : In our tests, I have witnessed that making throttling code 99+% precise in async sockets is

Re: [twsocket] HttpCli, bandWidthLimit ?

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
> Is the Zip file is available on the website ? > I can't find it, it always shows *[* Download ICS-V7 Distribution > (October, 2010) *]* It's on the Wiki website: http://wiki.overbyte.be/wiki/index.php/ICS_Download SVN is zipped at about 11.05pm each night as: http://wiki.overbyte.be/arch/ics

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
>I guess you are using UDP not TCP. no I am using TCP > I have 3gb ram >You need ICS-V7 to support I can not change the version please tell me in current version Rajesh On Mon, Feb 7, 2011 at 4:18 PM, Francois PIETTE wrote: > I am using your ICS socket componet for c++ builder 6 . I t

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
ICSv6 is the same as v7 in using single window per many sockets. For v5, you may hit the limit for maximum number of Window handles per proxess with a few thousand sockets. With v7, we have been able to test up to 60k sockets. It could improve further but as Francois said the 2GB RAM limit for 32-

Re: [twsocket] HttpCli, bandWidthLimit ?

2011-02-07 Thread Bruno Mannina
Ok thanks, I can't find because I'm looking for on http://www.overbyte.be Regards, Bruno Le 07/02/2011 12:27, Angus Robertson - Magenta Systems Ltd a écrit : Is the Zip file is available on the website ? I can't find it, it always shows *[* Download ICS-V7 Distribution (October, 2010) *]* It

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi I have OverbyteIcsV5 just want to handle 1000 client. Is that possibe. because i have to process 1000 client threads Rajesh On Mon, Feb 7, 2011 at 5:02 PM, Fastream Technologies wrote: > ICSv6 is the same as v7 in using single window per many sockets. For v5, > you > may hit the limit for ma

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
If you have 1GB+ RAM, that should be possible. Regards, SZ On Mon, Feb 7, 2011 at 1:58 PM, rajesh gupta wrote: > Hi > I have OverbyteIcsV5 just want to handle 1000 client. Is that possibe. > because i have to process 1000 client threads > Rajesh > > On Mon, Feb 7, 2011 at 5:02 PM, Fastream Tech

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Ok Thanks for valuable info . Can you tell me is there any method in ICS to compress the data and send to socket Rajesh On Mon, Feb 7, 2011 at 5:38 PM, Fastream Technologies wrote: > If you have 1GB+ RAM, that should be possible. > > Regards, > > SZ > On Mon, Feb 7, 2011 at 1:58 PM, rajesh gupta

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
ICS uses built-in Zlib objs (the default) or external zlib1.dll for the purpose. You will need to examine the web server or FTP server component source to see how the zlib functions should be called. Regards, SZ On Mon, Feb 7, 2011 at 2:18 PM, rajesh gupta wrote: > Ok Thanks for valuable info .

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
> Ok Thanks for valuable info . Can you tell me is there any method > in ICS to compress the data and send to socket Both the ICS FTP and HTTP server include options to compress data sent to clients, but this is done at application layer, not socket layer. You would need to look at the source

Re: [twsocket] HttpCli, bandWidthLimit ?

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
> I can't find because I'm looking for on http://www.overbyte.be The same zip links are on the main ICS product page, a few rows above the red text version, but slightly less obvious. Beware the SVN repository can be updated daily, and rarely some bad code ends up there for a couple of days, un

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Thanks I want to read buffer from files then compress after that send to client . Is that model possible Rajesh On Mon, Feb 7, 2011 at 6:07 PM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > Ok Thanks for valuable info . Can you tell me is there any method > > i

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
As I said you need to examine the web/FTP server component code. It is possible. SZ On Mon, Feb 7, 2011 at 3:05 PM, rajesh gupta wrote: > Thanks > I want to read buffer from files then compress after that send to > client . Is that model possible > > Rajesh > > On Mon, Feb 7, 2011 at 6:0

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Francois PIETTE
I want to read buffer from files then compress after that send to client . Is that model possible Sure it is. As Angus said, compression is a CPU intensive task, so you'd better have multicore CPU and use multithreading to use multicore. If you have one thousand concurrent user doing

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Francois PIETTE
I am using your ICS socket componet for c++ builder 6 . I test lot but TWSocket Component not sending the data more than 1460 bytes at a time . what is the maximum size how can use and how??. I guess you are using UDP not TCP. no I am using TCP There is no limit on the size of the data

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
> I want to read buffer from files then compress after that > send to client . Is that model possible Yes. But also beware that compression is a blocking operation, during which time the server thread will stall. The worse case is compressing a DVD image of 4 gigs which takes two or more minute

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi, I examine both sample but could not find the required code to compress the buffer. I am using ICS version 5 Rajesh On Mon, Feb 7, 2011 at 6:57 PM, Fastream Technologies wrote: > As I said you need to examine the web/FTP server component code. It is > possible. > > SZ > On Mon, Feb

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
You may need to upgrade to v6-7. It's not difficult at all. SZ On Mon, Feb 7, 2011 at 7:18 PM, rajesh gupta wrote: > Hi, > > I examine both sample but could not find the required code to compress > the buffer. I am using ICS version 5 > >Rajesh > > On Mon, Feb 7, 2011 at 6:57 PM, Fastream

[twsocket] TransmitFile Windows API

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
Browsing MSDN, I came across a winsock function that may speed up the ICS FTP and HTTP servers, which in my testing are slower than others. It seems to combine reading a file and sending it over a socket. Possible downside is client windows is restricted to two sessions at a time, server windows

Re: [twsocket] TransmitFile Windows API

2011-02-07 Thread Francois PIETTE
Would be interesting to make some testing. It should be used with overlapped I/O to somewhat preserve the asynchronous nature of ICS. Of course, there won't be any event triggered while transmitting, which could cause trouble to application having a progress bar. Unless TransmitFile is used to s

Re: [twsocket] HttpCli, bandWidthLimit ?

2011-02-07 Thread Bruno Mannina
Great ! It works perfectly for me inside my program thanks a lot for this improvement ! Regards, Bruno Le 04/02/2011 20:07, Angus Robertson - Magenta Systems Ltd a écrit : The bandwidth control is not very accurate and currently doesn't work with POST requests. I use POST requests, so it

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi, I download the OverbyteIcsV6 but could not found any demo for c++ buider6 Rajesh On Mon, Feb 7, 2011 at 10:50 PM, Fastream Technologies wrote: > You may need to upgrade to v6-7. It's not difficult at all. > > SZ > On Mon, Feb 7, 2011 at 7:18 PM, rajesh gupta >wrote: > > > Hi, > > > >

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Francois PIETTE
I download the OverbyteIcsV6 but could not found any demo for c++ buider6 Not sure why you want ICS-V6. ICS-V7 is current one ! The oldest C++ Builder version supported is 2006. The oldest Delphi version supported is 7. You should upgrade your C++ Builder 6 to C++ Builder XE. There is a new C

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi, Actually I have currently on my system c++ builder 6 + ICS ver 5 . also having many license of third party component for c++ buider6. Also My lot of project working on that . If I change the version of c++ builder 6 then lot of problem occurs in compiling and linking , upgrading the component