Re: [twsocket] Stress testing

2016-09-14 Thread Jasja Glasbeek
 love ics thanks for all the hard work. Verstuurd vanaf mijn iPhone > Op 14 sep. 2016 om 20:58 heeft Angus Robertson - Magenta Systems Ltd > het volgende geschreven: > > There have been many discussion here over the years about how many > sockets ICS supports in the

Re: [twsocket] Problem with TFtpClient - Access Violation error

2016-09-14 Thread Ertan Küçükoğlu
Hello, Finally source of the problem found. As I suspected, FtpClient doing a Free of the assigned MemoryStream. TCustomFtpCli.DoGetAsync() procedure line no: 5211 { open the destination file } { Don't open a file if we're on FDisplayFileFlag } if not FDisplayFileFlag then try

[twsocket] Stress testing

2016-09-14 Thread Angus Robertson - Magenta Systems Ltd
There have been many discussion here over the years about how many sockets ICS supports in the same thread. A user of my ComCap application needs to collect remote data from 2,000 sensors calling in over the internet, so I improved my ComGen data stream generator to create multiple streams, both

Re: [twsocket] Problem with TFtpClient - Access Violation error

2016-09-14 Thread Ertan Küçükoğlu
> Yes, but when you read or write a stream, the next read/write position is where you last left it, and you probably read > beyond the stream end, and then got an AV trying to write there. > > Clear the stream before every request. Something is odd on my side and I cannot find it. This is a

Re: [twsocket] Problem with TFtpClient - Access Violation error

2016-09-14 Thread Angus Robertson - Magenta Systems Ltd
> It is created for sure. I create the stream once when application > started and it is Freed at application close. It maybe that I am > not clearing and resetting. Yes, but when you read or write a stream, the next read/write position is where you last left it, and you probably read beyond the

Re: [twsocket] Problem with TFtpClient - Access Violation error

2016-09-14 Thread Ertan Küçükoğlu
-Original Message- From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: Wednesday, September 14, 2016 10:33 AM To: twsocket@lists.elists.org Subject: Re: [twsocket] Problem with TFtpClient - Access Violation error > > I have no