Saturday, June 8, 2013

Phase 3 - Implement Cyclic Redundancy Check

What to do
1) Use Cyclic Redundancy Check (CRC) as error detection strategy. We use the CRC code provided by Michael Barr in the link below:
Phase 3 Goal
Based on the code of phase 2, add additional functionality. Before sending frame to server, the sender calculates CRC, and upon the receiver receives the frame, it calculates the CRC and compare it with the CRC in the receiving frame. If they don't match, print the event (in this phase, we don't insert any error). 


Useful resources
How to define enumeration in C?
enum in C.
typedef in C.

No comments:

Post a Comment