🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1859

Re: TCP/IP CRC Checking Question....

#1859
From: Paul at NCF
Date: Thu, 12 Oct 2006 19:07
40 lines
2687 bytes
So, is it possible in your opinion with Server/Client architecure using 
Sockets (TCP/IP) that if I transmit a block of data from A to B, that the 
data can arrive corrupted (because thats what we seem to see and achieve 
using the Network Emulator whilst inducing a bit error).


"Bob Gonder" <notbg@notmindspring.invalid> wrote in message 
news:511ti29hn8m5vipvi8hqlaajp9gqfs5da3@4ax.com...
> "Paul at NCF" <not plmacca@clara.co.uk> wrote:
>
>>Here's a question for those of you in the know.  Does the TCP/IP checksum
>>field protect against corruption of the data portion, or does it only
>>protect the TCP/IP header?
>
>>Some material on the web implies that the data portion is protected, other
>>sites (including microsoft) imply the header is only included in the
>>checksum (and that the UDP checksum is optional?).
>
> Depends on what layer you are looking at.
> http://www.tcpipguide.com/free/t_toc.htm
>
> http://www.tcpipguide.com/free/t_IPDatagramGeneralFormat.htm
> IPv4 has a Header CRC, doesn't cover data.
>
> http://www.tcpipguide.com/free/t_IPv6DatagramOverviewandGeneralStructure.htm
> IPv6 does away with the Header CRC.
>
> http://www.tcpipguide.com/free/t_IPDatagramEncapsulation.htm
> Farther down, closer to the actual transmission, the packet is placed
> in a frame. The frame has a footer wich contains a Frame CRC (FCS)
> which does cover the data.
> http://www.tcpipguide.com/free/t_PPPGeneralFrameFormat.htm
>
>>  And is the answer to this different if you use Win32, Linux, etc?
>
> The protocols are supposed to be agnostic. That's the whole idea.
>
>
>
> 
Technical Details
Message-ID: <452e926b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <452e72cc$1@newsgroups.borland.com> <511ti29hn8m5vipvi8hqlaajp9gqfs5da3@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6aaa467848354448
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Paul at NCF" <not plmacca@clara.co.uk>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <452e72cc$1@newsgroups.borland.com> <511ti29hn8m5vipvi8hqlaajp9gqfs5da3@4ax.com>
Subject: Re: TCP/IP CRC Checking Question....
Date: Thu, 12 Oct 2006 20:07:30 +0100
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 86.139.30.173
Message-ID: <452e926b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160680043 86.139.30.173 (12 Oct 2006 12:07:23 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail