GithubHelp home page GithubHelp logo

wxiaoyan / csma-cd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deepakjayaprakash/csma-cd

0.0 0.0 0.0 501 KB

The project Carrier Sense Multiple Access with Collision Detection is a software implementation and show collision detection between any of the station using a common channel to send and receive data through the Data Link Layer of the Internet Model.

C++ 100.00%

csma-cd's Introduction

CSMA-CD

The project Carrier Sense Multiple Access with Collision Detection is a software implementation and show collision detection between any of the station using a common channel to send and receive data through the Data Link Layer of the Internet Model.

This program follows a typical approach to the detect collision, with the Sender uses non-persistent method in which, a station that has a frame to send senses the line. If the line is idle, it sends immediately .If the line is not idle, it waits for random amount of time and then senses the line again.

About the code

  • The program includes the usual functions of the data link layer like collision, back off time, getting data and making a frame and sending data to the receiving station.

  • The program is designed to graphically visualize the sending data and the collision detection.

  • This program is designed such that the user can simulate all the things that can occur while transferring a frame and once a collision is detected the station again retransmits the data using back off time.

  • The program is designed such that it is like an interaction between the user and computer. The user has to give the required input when prompted by the program.

  • Then the complete simulation module takes over including the graphics part in which a typical sending receiving is accompanied by collision detection.

csma-cd's People

Contributors

deepakjayaprakash avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.