Computer Science, asked by suryarushitha1572, 1 year ago

Why ppp uses byte stuffing instead of bit stuffing?

Answers

Answered by lucky306
0
adding unused bits or bytes to make a data structure easier to index or manipulate.

I have a different understanding of the term. Stuffing is a method to maintain transparency in a communications channel when certain specific bit or byte sequences have special meaning to lower layer protocols.

For example, HDLC delimits physical frames with the 8-bit flag sequence 01111110 (hex 7e). Without stuffing, if an application sent this
value as data the HDLC receiver would misinterpret it as the end of a frame. So bit-synchronous HDLC specifies that whenever 5 consecutive 1's appears in the user data stream, a 0 is inserted (stuffed) at the transmitter before the framing flags are added so that if the next two user data bits happen to be '10' it cannot form a "false flag". (A run of more than 7 1's on the channel aborts the current frame, so bit stuffing prevents this as well).
Hope it will help u.... If u think that it really helps u then plz mark it as brainlist..... Thnx
Similar questions