Re: [twsocket] TWSocket Buffer

2011-02-08 Thread Angus Robertson - Magenta Systems Ltd
> In previous post some one tell me that ICS version having this > features using zlib (FTP/web server applicatons). but I could not > find the any code snap in ICS version 6 for compression the buffer . Zlib was available in ICS v5. Look at icszlibhigh.pas. Function ZlibCompressStreamEx compr

Re: [twsocket] TWSocket Buffer

2011-02-08 Thread rajesh gupta
Hi, Thanks for help , I will definitly switch to latest versions of both c++ builder and ICS with 2- 4 months . But presently I need urgent help for compression of data and send to socket . Actually I have frequently In memory data (buffer) that I am continuesly sending to the clients . now I wa

Re: [twsocket] TWSocket Buffer

2011-02-08 Thread Francois PIETTE
You should upgrade your C++ Builder 6 to C++ Builder XE. 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

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

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, 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 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

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 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 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 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 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 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 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] 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 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
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
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
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] 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 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

[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