Python Socket Programing with Threading

Job ID: 35600050

Budget: $10 – $30 USD

When a .sh file is called, it will run the Node.py script in parallel and these nodes will communicate with each other to simulate the Distance Vector Routing protocol.

The running script should act both as a server and as a client, I used threads for this, but there is a problem like the server does not terminate. Also, data flow is not provided. It is necessary to provide data flow and provide DVR protocol. You can write it yourself from the code I wrote or from scratch.

In the screenshots, there is information about the necessary steps and how the file format is, respectively.

You can find the code I wrote with the thought that it might be useful, along with the sample input folder and the .sh script.

It works as "./runner.sh first".
Related categories: Python Communications