A protocol to avoid data collision during communication caused by several devices communicating on one stream.
Protocol
- Each channel is designated as either
idle
orbusy
- If the channel is
idle
, then data can be sent
CSMA/CD
A fallback protocol as to what happens when data collisions will occur during CSMA. Used in early Half Duplex networks
- If a collision occurs, a jamming signal is sent to each devices that had a part in the collision
- Each computer recieves jamming signal and waits a random amount of time before sending their data again
CSMA/CA
Protocol for avoiding collisions altogether. Used in Wireless Local Area Network since, jamming signals cannot be sent as there is no cable to guarantee communication.
- Detects if channel is idle
- Wait a short period of time
- Send data
- Destination sends an ACK (acknowledgement) signal if they have received the data
- If no ACK was received by the source device, then the entire process is restarted
RTS/CTS
An optional protocol for CSMA that is slow but reliable.