3 ms·
Is this what tcp/ip uses?
by mrfusion 5y ago
Is this what tcp/ip uses?
- rl1987 5y agoNo. TCP, IP and UDP are all using Internet Checksum (RFC 1071). Ethernet uses CRC.
- znpy 5y agoI went and skimmed the rfc you're citing and it's fro 1988, it's old enough to have samples in C code where the "register" keyword is still used (afaik nowadays most compilers will ignore it) along with assembly code for motorola 68020, Cray CPUs and the IBM-370. EDIT: for reference: https://datatracker.ietf.org/doc/html/rfc1071.html https://datatracker.ietf.org/doc/html/rfc1071.html
- brandmeyer 5y agoAll of these are techniques for verifying a message. Galileo also uses a 24-bit CRC to verify its messages after performing forward error correction.
- stagger87 5y agoForward error correction is usually at the PHY layer, not the transport layer. So the more appropriate question is, does 10GbE/100GbE/WLAN/etc use RS coding? (and yes some of them do.)
- TonyTrapp 5y agoNo, but Reed-Solomon codes are used on on CDs.
- sliken 5y agoIndeed, I think there's a 3 layers of encodings to protect against different corruption scenarios. Trick is some equipment only does a partial implementation, thus the need for a tool like cdparanoia to recovery data from corrupted CDs.
- jandrese 5y agoTCP doesn't do forward error correction at all. It uses a retransmission scheme instead. TCP's error correction is not only to insure a consistent datastream, but also to more equitably share limited bandwidth.