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.
- Host: GitHub
- URL: https://github.com/shashwatkathuria/socket-programming
- Owner: shashwatkathuria
- Created: 2019-11-12T11:48:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-12T13:29:21.000Z (over 5 years ago)
- Last Synced: 2025-02-04T18:45:34.975Z (5 months ago)
- Topics: client, client-server, cyclic-redundancy-check, data-link-layer, manchester-encoding, physical-layer, pylab, python, python27, server, socket-programming, tcp-ip
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.pyNote - 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.
------------------------------------------------------------------------------------------------------------