/Socket-Programming-basic

Client Server mathematical operations

Primary LanguagePython

Problem Statement

Implement a server that can do the following operations.

  1. Add two numbers
  2. Divide two numbers
  3. Subtract two numbers
  4. Multiply two numbers.

A client has to take numbers and desired operation code(or operator) from the user and send them to the server for computation. The data can be sent in a JSON form to the server. Server can compute and send the results back to the client. The client will display the results. All requests and responses from the server have to be logged into a log file for later analysis and troubleshooting.

Note:- Use object oriented principles.