|Subject:||Re: Suggested patch for IdIcmpClient unit|
|Posted by:||Remy Lebeau \(Indy Team\) (email@example.com)|
|Date:||Wed, 25 Apr 2007|
"Pibì" <firstname.lastname@example.org> wrote in message
> Problem solved:
What is the problem you are trying to solve? You never explained
that. I'm not going to make such changes to TIdIcmpClient until you
explain the logic behind it first.
> SetLength(FbufIcmp, 12 + FPacketSize); //is
> if IPVersion = Id_IPv4 then begin
> SetLength(FbufReceive, FPacketSize + 32); // need constant
Why are you adding extra bytes to the outbound buffer?
> BytesReceived := BytesRead - 32; // need constant
Why are you removing bytes from the inbound buffer?
Suggested patch for IdIcmpClient unit posted by Pibì on Wed, 25 Apr 2007