input needs a blank line to complete

cat input.txt | ./calc_client localhost 5001