Re: [twsocket] FReadCount and overflows

2007-02-24 Thread Arno Garrels
Markus Humm wrote: > Hello, > > after reading your replies (thanks for them) I'm still wondering what > this means for me or what the FReadCount is really for. > > I had the impression that it would count all the bytes received within > the session. > Is that right? Yes. > It's only for statis

Re: [twsocket] FReadCount and overflows

2007-02-24 Thread Francois PIETTE
er and faster code. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Markus Humm" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, February 24, 2007 9:45 AM Subject: Re: [twsocket] FReadCount and overflows > Hello, > &g

Re: [twsocket] FReadCount and overflows

2007-02-24 Thread Markus Humm
Hello, after reading your replies (thanks for them) I'm still wondering what this means for me or what the FReadCount is really for. I had the impression that it would count all the bytes received within the session. Is that right? It's only for statistical/informative purposes? So if I commen

Re: [twsocket] FReadCount and overflows

2007-02-24 Thread Arno Garrels
Fastream Technologies wrote: >> Sure, otherwise you add bytes transfered in previous sessions to >> the next client. What do you think is a fix? Even if there was >> an Int256 it may overflow as well if you keep connections alive >> infinite. > > Yes but Abort/Shutdown must have been called in bet

Re: [twsocket] FReadCount and overflows

2007-02-23 Thread Fastream Technologies
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, February 23, 2007 10:29 PM Subject: Re: [twsocket] FReadCount and overflows > Fastream Technologies wrote: >> Hello, >> >> We do re

Re: [twsocket] FReadCount and overflows

2007-02-23 Thread Arno Garrels
o Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Friday, February 23, 2007 9:49 PM > Subject: Re: [twsocket] FReadCount and overflows > > >> Markus, >> >> In latest versions, if you use D6 or better STREAM64 is defined &g

Re: [twsocket] FReadCount and overflows

2007-02-23 Thread Fastream Technologies
t; Sent: Friday, February 23, 2007 9:49 PM Subject: Re: [twsocket] FReadCount and overflows > Markus, > > In latest versions, if you use D6 or better STREAM64 is defined > by default. Unless you transfered data volumes beyond 2^63-1 bytes > there won't be a problem ;-) Pro

Re: [twsocket] FReadCount and overflows

2007-02-23 Thread Arno Garrels
Markus, In latest versions, if you use D6 or better STREAM64 is defined by default. Unless you transfered data volumes beyond 2^63-1 bytes there won't be a problem ;-) Property ReadCount is reset to zero before each transfer, so that has nothing to do with 7x24 apps. --- Arno Garrels [TeamICS] ht

[twsocket] FReadCount and overflows

2007-02-23 Thread Markus Humm
Hello, while searching a serious problem in one of my apps I decided to run the affected part from the IDE. It contains two TCP Servers built with TWSocket (ICS V5.20, D2006). As I checked it this morning the debugger told me there is some integer overflow and when I looked at the line causing