/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.

Primary LanguagePython

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.