Hi Peter,

    All I did for months was try to find the cause of the problem in MY 
work. Then I decided to try this list, and all you fellow gave me your 
opinions wich were tested and helped me out in finding the "error". And most 
probably the problem resides in either ICS or AMD64 itself, because believe 
it or not, ALL AMD64 testers I've got so far presented the same issue (by 
all I mean the two users with that machine configuration, one AMD Athlon 64 
and the other AMD Sempron).
    With the corrections made both users got themselves a working program 
(tested). Now, why the error exists and in whom the guilt resides? I really 
can't tell. Could be in my application, I can't discard that, but I just 
thought of letting you guys know. Who knows if there's an AMD64 user in this 
list and he has the time to implement the code below just for testing? 
Imagine if he manages to reproduce the same problem as I did? We may be 
discovering a serious (in my opinion) problem with either AMD 64 based 
processors or the ICSv5 component.
    I think it's worth the shot ...

Marcelo.

----- Original Message ----- 
From: "Borosnyay Péter" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Saturday, June 10, 2006 6:13 AM
Subject: Re: [twsocket] 64-Bit Processors Issue


> Hello Marcelo,
>
>   Your problem has nothing to do with AMD processors. It was by 
> coincidence that the machine that produced the problem had an AMD 
> processor. You should try an Intel one also. As far as I know, socket 
> implementations doesn't depend on or differ by processor type. They should 
> not.
> When you track down a problem, first always try to find the cause in YOUR 
> work, among the things that YOU did.
> People (including myself) are feeble and tend to forget this. The more 
> experience one has, the higher the probability is, to forget the above.
> Colleagues, NEVER forget it !
>
> I wish good luck for everyone !
>
> Cheers,
>
> Peter
>
>
> On Fri, 09 Jun 2006 22:58:14 +0200, Marcelo Grossi 
> <[EMAIL PROTECTED]> wrote:
>
>> Hello again folks,
>>
>>     I managed to "fix" the bug I told you guys about. Aparently it is 
>> endeed
>> an ICS related problem or AMD's fault, can't be concise on that. Here's 
>> an
>> overview of the problem with the solution in sample codes:
>>
>>     Problem: The server did not received the packet from the client, only
>> the first one. The packets in question were being sent from inside a for
>> loop (small one, about 50 iterations). Here is a sample code of the 
>> "faulty"
>> version of the code (Delphi 6):
>>
>> for I := 0 to Count-1 do
>>     begin
>>         // This line being the assembly of the buffer,
>>         // it is a very clean code and is a very fast function and very 
>> few
>> data.
>>         // Buffer size estimations are about 20- bytes.
>>         BuildMessage(aString, aBuffer);
>>         // sends rapid-fire buffers to the server
>>         Socket.Send(@aBuffer[0], Length(arBuffer));
>>     end;
>>
>>     Solution: Using the cumulative send function provided with ICS the
>> problem is strangely resolved and the server receves ok the buffers (in 
>> this
>> case, the single buffer made of the small buffers). Here is the sample 
>> code:
>>
>> for I := 0 to Count-1 do
>>     begin
>>         // Same buffer assemblage
>>         BuildMessage(aString, aBuffer);
>>         // Only sends the packet when the processing is finished (last
>> iteration)
>>         if I = (Count - 1) then
>>             Socket.Send(@aBuffer[0], Length(aBuffer))
>>         else
>>            Socket.PutDataInSendBuffer(@aBuffer[0], Length(aBuffer));
>>     end;
>>
>>     I hope I could be of any help and I'm pretty sure this can be 
>> reproduced
>> (using the sample codes above) in any client/server model being the 
>> client
>> an AMD 64-Bit processor (can't say much about Intel 64-Bit processors
>> because we could not test it out). Anyways, thank you very much for all 
>> your
>> responses!
>>
>> Best regards,
>>
>> Marcelo Grossi
>>
>> ----- Original Message -----
>> From: "Arno Garrels" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" <twsocket@elists.org>
>> Sent: Friday, June 09, 2006 8:24 AM
>> Subject: Re: [twsocket] 64-Bit Processors Issue
>>
>>
>>> Marcelo Grossi wrote:
>>>> Hello again,
>>>>
>>>>     I'm new to this list and since I've been getting your messages, I
>>>> was wondering if anyone got the message I sent about the problem I'm
>>>> having with the 64-Bit AMD processors. I really really need your help
>>>> on this, because I've never altered the source code of ICS and the
>>>> problem mentioned (see below) only happens with users of 64-bit AMD
>>>> (never tested with Intel) processors.
>>>
>>> It is very very unlikely that ICS in combination with AMD64 is the
>>> reason. I personally had troubles with hardware DEP (nx-flag) caused
>>> by another third party component, however I got at least a very strange
>>> exception.
>>>
>>> ---
>>> Arno Garrels [TeamICS]
>>> http://www.overbyte.be/eng/overbyte/teamics.html
>>>
>>> --
>>> To unsubscribe or change your settings for TWSocket mailing list
>>> please goto http://www.elists.org/mailman/listinfo/twsocket
>>> Visit our website at http://www.overbyte.be
>>>
>>
>
>
>
> -- 
> FIGYELEM !  Ennek a levélnek a végén NINCS REKLÁM !!!
> észrevetted ?
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to