What is the benifit by having a pseudo header for a connection oriented protocols like TCP.
Can any one help me out of this confusion ?
ThanX in Advance.
What is the benifit by having a pseudo header for a connection oriented protocols like TCP.
Can any one help me out of this confusion ?
ThanX in Advance.
What web pages / searches did you try?
The TCP/IP Guide - TCP Checksum Calculation and the TCP "Pseudo Header"
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Can not really explain this better than what Salem posted.
In case there is any confusion "the reason" is
Meaning there will not be an ACK-nowledgedment and the packet will get resent (at least I think that is happens).When the TCP segment arrives at its destination, the receiving TCP software performs the same calculation. It forms the pseudo header, prepends it to the actual TCP segment, and then performs the checksum (setting the Checksum field to zero for the calculation as before). If there is a mismatch between its calculation and the value the source device put in the Checksum field, this indicates that an error of some sort occurred and the segment is normally discarded.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
Thanx Mk27 you have solved my doubt , I just wanna tell to salem and some other
please get to know this , don't ask for any clarification by not knowing what is pseudo header at all.