🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1860
From: Bob Gonder
Date: Thu, 12 Oct 2006 22:19
19 lines
2006 bytes
"Paul at NCF" <not plmacca@clara.co.uk> wrote:

>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).

Depends on how you are introducing this bit error.
It seems to me that you would need to splice into the wire, and clamp
the data to ground for one bit-time, precisely during the data segment
of the packet.
Or maybe your Network Emulator allows for non-conforming mid-stream
bit twiddling, as store-modify-forward should entail a new FCS.

Also, be aware that the CRCs are rudimentary in nature, meant to be
fast, not accurate.
If you need bullet-proof transmission, you should add your own ECC to
your data, and add a re-transmit protocol to your c/s code in case the
ECC doesn't correct.
Technical Details
Message-ID: <tfeti2lsedhn069clj0r6455rahk9233vb@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!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> <452e926b@newsgroups.borland.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: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: TCP/IP CRC Checking Question....
Date: Thu, 12 Oct 2006 15:19:20 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <tfeti2lsedhn069clj0r6455rahk9233vb@4ax.com>
References: <452e72cc$1@newsgroups.borland.com> <511ti29hn8m5vipvi8hqlaajp9gqfs5da3@4ax.com> <452e926b@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.90.106
X-Trace: newsgroups.borland.com 1160691557 69.69.90.106 (12 Oct 2006 15:19:17 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail