C#
  Home arrow C# arrow Cyclic Redundancy Check
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
C#

Cyclic Redundancy Check
By: Gabor Bernat
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-11-05

    Table of Contents:
  • Cyclic Redundancy Check
  • Error detecting codes
  • The golden path: division
  • Concluding to the result

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Cyclic Redundancy Check


    (Page 1 of 4 )

    One thing I have learned during my university years and current life experience is that nothing is perfect. Errors can occur in multiple places. When this happens we need to come up with a solution for the problem. A Cyclic Redundancy Check is the solution for error checking any data transmission.

    There are multiple ways to complete a data transmission. The most popular involves the use of twisted copper pairs and the Internet. This uses analog data transmission. and problems can occur, caused by magnetic interfaces, connection errors and many other things.

    The newest technology involves the use of optics, with interoffice fiber trunks that transmit digital codes. This assures a really low error rate; however, considering that this technology is still quite expensive, it will probably be a long time before we switch to this all over the world.

    Then again, there is the wireless data connection so popular today with the rise of notebooks. This relies solely on analog data transmission, and many other frequencies can occur at the same time we transmit our data. This will lead, of course, to corrupted data.

    Due to this, we need to come up with some error correction and detection methods. The error correction part calls for a whole lot of effort and resources. Therefore, it is only recommended for use in places where transmitting another package of the initial data implies heavy penalties or (just as easily) could be corrupted. This is the case with a wireless connection. I will deal with this in a future article.

    Nevertheless, the error detection part is more straightforward and can be implemented in hardware effortlessly with the help of some linear feedback shift registers. As a result, most of the protocols used today implement this at a hardware level. I will present this too; however, before we reach that point, you need to learn the idea behind the classic algorithm.

    More C# Articles
    More By Gabor Bernat


     

    C# ARTICLES

    - Coding a CRC-Generating Algorithm in C
    - Cyclic Redundancy Check
    - Handling Methods and Functions
    - Destroying Objects in C#
    - Creating Objects in C-Sharp
    - Classes and Objects
    - Programming Languages: Managed versus Native
    - LINQ-to-MySQL with DbLinq in C#
    - Working with Dates and Times in C#
    - Generics, Dictionaries, and More
    - More About Generics
    - Working with C# Collections
    - Generics
    - C# and XML
    - Pointers and Arrays in C#





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek