We expect this exercise to take about 1 hour to complete. You may choose any programming language, and you may use online references/documentation/etc just as you would in your normal programming. Assume that you are writing production-level code and be sure to include test cases.
Write a program to connect to a TCP server, running at
palindromer-bd7e0fc867d57915.elb.us-east-1.amazonaws.com, TCP port
7777. The server uses a raw, line-oriented text protocol: this is not an HTTP server.
For each list of words that the server sends, your program should send back only the words that are palindromes (words whose letters are the same in reverse order).
For example, if the server sends:
zittmttiz xfiyisggdt rzainiazr moqwyke