|Subject:||Re: Suggested patch for IdIcmpClient unit|
|Posted by:||Remy Lebeau \(Indy Team\) (firstname.lastname@example.org)|
|Date:||Wed, 25 Apr 2007|
"Pibì" <email@example.com> 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