For question 2, the server-side program is missing. -2
For question 3, the server-side program is missing, the client is missing a loop and only sends one message . -1.7