This is the homework I did for my Computer Communications class in my 3rd year in ITU CE. It basically establishes a TCP connection and asks all the questions in the json file and terminates.
For execution: Execute the client and server scripts in 2 different terminals.