Re: UDP checksum calculation - uses lenght twice ?

Tech-Archive recommends: Fix windows errors by optimizing your registry



BTW all calculations you can take from
http://www.codeguru.com/network/tcpip_lib31.html
Arkady

"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:O$6MlgA9FHA.808@xxxxxxxxxxxxxxxxxxxxxxx
> But I wrote *why* you need that : if your packet went to other IP (
> machine e.g. router too ) by mistake that checksum ( only routing data )
> will tell that destination is wrong . That used both in TCP and UDP the
> same and if you see my messages ( as others ) and I see yours - sure that
> done OK :)
>
> Arkady
>
> "R.Wieser" <address@xxxxxxxxxxxxx> wrote in message
> news:OKL7qaA9FHA.4076@xxxxxxxxxxxxxxxxxxxxxxx
>> Arkady Frenkel <arkadyf@xxxxxxxxxxxxxxxx> schreef in berichtnieuws
>> e7DADr#8FHA.2192@xxxxxxxxxxxxxxxxxxxxxxx
>>
>> Hello Arkady,
>>
>>> Additionally , on RFC793 that starts on last line of page 15 and
>>> continue
>> to
>>> page 16 :
>>>
>>> The checksum also covers a 96 bit pseudo header conceptually
>>
>> Thanks for your responses. Yes, I saw that one too. However, none of
>> the
>> "this is how you calculate the checksum for ...." tell me anything about
>> the
>> *why* of using the UDP-length double :-( :-)
>>
>> By the way : the sending & recieving of the UDP-packets to/from a
>> Windows-machine goes o.k., so I guess the checksum-calculation is o.k
>> too.
>> :-)
>>
>> Regards,
>> Rudy Wieser
>>
>>
>>
>
>


.



Relevant Pages

  • Re: Difference between TCPWindow size and TCP Stack buffer
    ... Arkady ... > way for obtaining it from the TCP stack, ... I definitely thought I wanted to query the TCP window size... ... >> may indicate a fundemental misunderstanding of tcp window on my part. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Getting TCP/UDP Tables with ProcessIDs before XP
    ... Second it showed "tcp ... ... Will i compile it with DDK compiler or user-mode compilers? ... "Arkady Frenkel" wrote: ... give me process ids, i mean i want to learn which processes do any ...
    (microsoft.public.win32.programmer.networks)
  • Re: end of tcp stream .
    ... Arkady ... that's why different proprietary protocols built on tcp have ... >> How come PUSH flag is not an indicator? ... >>> The TCP PSH flag is not used by modern TCP stacks. ...
    (microsoft.public.win32.programmer.networks)
  • Re: HTTP forwarding
    ... Arkady ... "With winsock no need in hooking, ... It should be in this case UDP and HTTP packets. ... TCP packets? ...
    (microsoft.public.win32.programmer.networks)
  • Re: File Transfer Using UDP within LAN
    ... OTOH it's not guaranteed that you'll receive fasted communication with UDP ... which is absent in UDP) ... Arkady ... The general principle of using TCP ...
    (microsoft.public.win32.programmer.networks)