/TcpIpCalculator

TCP/IP Calculator Example

Primary LanguageJava

TCP/IP Calculator Example

Example of TCP/IP server written in Java and Python

a simple server calculator that accept in input an expression like " 5 + 5" and return result to a client.

Input parameters :

  1. first number
  2. operator ("+","-","*","/")
  3. second number

with command "quit" close the client connection and with "Quit" close connection and stop the service

Matteo Cantarutti