943,549 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 427
  • C++ RSS
Nov 22nd, 2008
0

introducing bit erasure in packets..

Expand Post »
Hi,
In an assignment I'm supposed to introduce packet errors and bit erasures in the packets.packet errors I can do.Bit erasures mean we have no idea if its a 1 or a 0.how can I introduce something other than a 0 or a 1 in a bit?
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
AutoC is offline Offline
74 posts
since Sep 2008
Nov 22nd, 2008
0

Re: introducing bit erasure in packets..

This question didn't make much sense to me at all.

> can I introduce something other than a 0 or a 1 in a bit?
A bit can only be either a 1 or a 0, or you can think of it as either on or off.
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
William Hemsworth is offline Offline
1,542 posts
since Mar 2008
Nov 22nd, 2008
0

Re: introducing bit erasure in packets..

Thats what I'm saying too.Let me explain bit erasure.

Lets say I transmit 01001101
theoretically, I recieve 01?01?01
ie. I dont know those bit values...though I'm in doubt now how thats even possible.but thats what bit erasure means.

this should help..
http://en.wikipedia.org/wiki/Binary_erasure_channel
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
AutoC is offline Offline
74 posts
since Sep 2008
Nov 25th, 2008
0

Re: introducing bit erasure in packets..

still need help with this
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
AutoC is offline Offline
74 posts
since Sep 2008
Nov 25th, 2008
0

Re: introducing bit erasure in packets..

Taking this example,

Lets say I transmit 01001101

Does erasure mean you receive
0101101
Send 8, got 7

Or does it mean
01011101
The data has been 'erased' because the bit has been flipped in transmission.

Flipping a bit is just xor
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Composite and inheritance class??
Next Thread in C++ Forum Timeline: Saving memory by using constants





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC