Re: UDP checksum calculation - uses lenght twice ?



That two different calculation not the same , this one take only specific
part of header for only that correctness in the case that common checksum
maybe the correct but address part not.
That can be in the case if some bit gone in one part and another added to
address part (used in pseudoheader ) the checksum ( general ) will be
correct but address occur wrong.
Don't forget that protocol exist about 30 years and network connections were
not so reliable as now
Arkady
P.S. BTW Police officer ( in this case RFC sure not me :) describe that
maybe not clearly enough but
"This gives the TCP protection against misrouted segments" ( RFC ) is the
explanation

"R.Wieser" <address@xxxxxxxxxxxxx> wrote in message
news:OugBNbC9FHA.3804@xxxxxxxxxxxxxxxxxxxxxxx
> Arkady Frenkel <arkadyf@xxxxxxxxxxxxxxxx> schreef in berichtnieuws
> O$6MlgA9FHA.808@xxxxxxxxxxxxxxxxxxxxxxx
>
> Hello Arkady,
>
>> But I wrote *why* you need that :
>
> We are talking about two different "why"-s here ... I know that I have
> to
> do the calculation according to the specification, otherwise it will not
> work. I have no problem in understanding that.
>
> My question is why that particular type of calculation was choosen ( in
> specific, why that calculation uses one value twice).
>
>
> Curently I feel like arguing with a police officer :
>
> Me : Why do I have to follow that rule ?
> Officer : Otherwise you get a ticket
> Me : No, I mean : will not following it endanger me or others or something
> ?
> Officer : No, because otherwise you will get a ticket.
> Me : ?????????
>
> Although the answer is correct, it does not answer the question : no
> reason
> to the why of the rule is given, only a reason why not to break it ....
>
> Regards,
> Rudy Wieser
>
>
>


.



Relevant Pages

  • Re: What exactly is load average ?
    ... > running Solaris 9 using a UNIX system call. ... the number of processes sleeping at a non-interruptable priority. ... the actual calculation is slightly more complex to handle the ... They reason they sleep non-interruptably ...
    (comp.unix.solaris)
  • Re: What exactly is load average ?
    ... > running Solaris 9 using a UNIX system call. ... the number of processes sleeping at a non-interruptable priority. ... the actual calculation is slightly more complex to handle the ... They reason they sleep non-interruptably ...
    (comp.unix.programmer)
  • Re: consciousness
    ... result of some other subconscious calculation or unknown. ... The reason I would ... clock button quickly in order to stop my clock and start the opponent's. ... learned when to resign and when to play on. ...
    (uk.philosophy.humanism)
  • Re: Excel Manual Calculation
    ... Reason 1 - As obviously stated in my post. ... Reason 2 - I don't have the calculation set to manual, ... Reason 3 - I am not using Excel 2000. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Alternate Visual Systems
    ... Color is something which should be a relatively constant ... A red apple might be lighter or darker ... calculation done by the visual system; ... I tend to agree it's not analogous, but not for that reason. ...
    (rec.arts.sf.science)