An open API service indexing awesome lists of open source software.

https://github.com/shashwatkathuria/socket-programming

Physical and Data Link Layer funtionalities of the TCP/IP Model. Manchester Encoding, Cyclic Redundancy Check (CRC), Frame by Frame communication and plotting graphs by PyLab.
https://github.com/shashwatkathuria/socket-programming

client client-server cyclic-redundancy-check data-link-layer manchester-encoding physical-layer pylab python python27 server socket-programming tcp-ip

Last synced: 3 months ago
JSON representation

Physical and Data Link Layer funtionalities of the TCP/IP Model. Manchester Encoding, Cyclic Redundancy Check (CRC), Frame by Frame communication and plotting graphs by PyLab.

Awesome Lists containing this project

README

        

# Socket Programming - Physical and Data Link Layer of TCP/IP Model

------------------------------------------------------------------------------------------------------------
## Features
------------------------------------------------------------------------------------------------------------

- Manchester Encoding
- Cyclic Redundancy Check (CRC) Error Detection
- Graphical Plotting of Signals
- Frame by Frame Communication of Message

------------------------------------------------------------------------------------------------------------
## Language Used
------------------------------------------------------------------------------------------------------------

Python 2.7.15+

------------------------------------------------------------------------------------------------------------
## INSTRUCTIONS ON HOW TO RUN THE PROGRAM
------------------------------------------------------------------------------------------------------------

First run server program then run client program.
Command for server.py => python server.py
Command for client.py => python client.py
After that carry on with entering the inputs of server.py first as prompted.
Then carry on with entering the inputs of client.py

Note - Please ensure that python 2.7.15+ and libraries pylab, socket and random are installed.

------------------------------------------------------------------------------------------------------------
## Input Format
------------------------------------------------------------------------------------------------------------

It is an interactive program and input specifications are asked at every step in the program.

------------------------------------------------------------------------------------------------------------
## Output Format
------------------------------------------------------------------------------------------------------------

Every encoding and checksum alongwith graphs are outputted in the console.

Note - Graphs are required to be closed after each frame so that the program can proceed.

------------------------------------------------------------------------------------------------------------