Documente Academic
Documente Profesional
Documente Cultură
netwinz Guide
CHARACTER STUFFING
Introduction:
In Certain Communication Protocols each frame starts with the ASCII character
sequence DLE STX and ends with the sequence DLE ETX.(where DLE is Data Link
Escape, STX is Start of TeXt and ETX is End of TeXt.) . If the destination ever loses
synchronization, it only has to look for DLE STX and DLE ETX characters. If
however, binary data is being transmitted then there exists a possibility of the
characters DLE STX and DLE ETX occurring in the data. Since this can interfere with
the framing, a technique called character stuffing is used. The sender's data link
layer inserts an ASCII DLE character just before the DLE character in the data. The
receiver's data link layer removes this DLE before this data is given to the network
layer. However character stuffing is closely associated with 8-bit characters and
this is a major hurdle in transmitting arbitrary sized characters.
1. Click on Physical Layer on the Main Window and Then Select “Char
Stuffing” Module from the Modules displayed in the centre of the window.
2. Enter the “IP Address” of the computer to which you intend to send data.
3. Enter the “Text” that you intend to send .
4. Enter the STX Character.
5. Enter the ETX Character.
6. Click on Form Frame button.
Enter STX and ETX as one of the character present in the data to see the effect of
stuffing.
The Frame will be displayed in the table below. Have a look at the frame and see
how stuffing is done.
7. Click on the “SEND FRAME” button to send the Frame to the destination IP.
Use Loop back Address “127.0.0.1” to send the Frame to the same computer.
RECEIVER:
In the Receiver Window, the Frame is displayed in the table as soon as the frame
is received.
If the STX and ETX is other than the one entered at the Transmitter, then the text
box shows frame error and color changes to red.
SNAPSHOT-2
SNAPSHOT-3
Reset Button: