Only TCP will automatically discard a packet with a bad checksum. UDP packets have a checksum field, but it is rarely used, and then only by the application (not UDP itself)
they all discard it because if checksum error error it mean data is sent byother user and it forget its rout due to fault of channel if reach thereso it is not need to notify the source about this error
they all discard it because if checksum error error it mean data is sent by other user and it forget its rout due to fault of channel if reach there so it is not need to notify the source about this error (Waqas Qadeer)
Every packet has a new set of error detection assigned to it, the Checksum is a part of this process. The error correction occurs in the transport layer where the ACK will fail and the receiving host will request the packet to be sent again.
UDP protocol. ----------------------------------- Well my version of answer is: In the case of IP and UDP, these are unreliable protocols that do not guarantee delivery, so they do not notify the source. TCP does guarantee delivery. However, the technique that is used is a timeout. If the source does not receive an acknowledgment to data within a given period of time, the source retransmits.
Its used to detect an error if the packet may be mis-routed. I'm not 100% sure.
A packet typically consists of four main parts: the header, payload, trailer, and sometimes a checksum. The header contains information such as source and destination addresses, as well as protocol details. The payload is the actual data being transmitted. The trailer often contains error-checking information, while the checksum helps ensure data integrity by verifying that the packet has not been corrupted during transmission.
Trouble code P0602 means:Control module programming error
checksum
how to deal with packet data errors
A DOS checksum error occurs when the checksum value calculated for a file or data block does not match the expected value, indicating potential data corruption or integrity issues. This can happen during file transfers, disk reads, or when accessing damaged storage media. The error can prevent the system from correctly reading or executing the affected file, leading to operational problems. Users may need to verify the integrity of the data or perform repairs to resolve the issue.
To calculate a checksum value for a message, first, divide the message into fixed-size blocks (often bytes). Then, sum the binary values of these blocks together, and if there's an overflow, wrap around and add it back to the sum. Finally, the checksum is typically obtained by taking the bitwise complement of the final sum. This checksum can then be appended to the message for error-checking purposes.
An invalid checksum indicates that the data integrity check has failed, meaning the data may have been altered or corrupted during transmission or storage. Checksums are numerical values generated from a set of data, and they are used to verify that the data remains unchanged. If the calculated checksum of received data does not match the expected checksum, it suggests an error, prompting a retransmission or further investigation.