CSMA
CSMA, or Carrier Sense Multiple Access, is a network access method that allows multiple devices to share a single communication medium. Nodes listen for a free channel before transmitting and may defer if it is busy. Collisions are detected in some variants, and appropriate recovery procedures are used. CSMA is a foundational technique at the medium access control layer and is associated with Ethernet and other broadcast networks. The two primary variants are CSMA with collision detection (CSMA/CD) and CSMA with collision avoidance (CSMA/CA).
CSMA/CD applies to networks that use a shared physical medium, such as old coaxial Ethernet or hubs.
CSMA/CA is used in wireless networks where collision detection is impractical. Stations listen before transmitting and
Variants of CSMA include persistent, non-persistent, and p-persistent schemes, which differ in how aggressively a station