Python socket programming is used for this project. Two programs were made, one for the server and one for the client.
Starting the Server
Before using the client the server must be started. The server will receive the numbers from the client and calculate the answer. The video below shows this process.
Using the Client
The demonstration below shows the client sending a method to calculate with and two numbers to the server. Once the server has finished calculating, the results are sent back and displayed by the client.
This project was a fun introduction into how UDP functions. It was also my first time using python and socket programming. Which was a nice break from C++. I picked up python pretty quickly and didn't have too much difficulty with this project, however I must admit that it took me a bit too long to realise the server must be started first before the client.
<> Code
If you would like to check out the code, or download and try yourself, have a look at the repository below.
Please DO NOT plagiarise my code. You will be caught, it's not worth it.