I have to type two strings in a client and send them with a struct to server. Then the server does 'c = a + b' and sends a news struct with { a, b, c } to client. If 'a' or 'b' received is quit, server sends to client bye.

Client receives the struct and prints 'c'. If it is 'bye' it closes connection, else it returns to asking the input of 'a' and 'b' and the cycle begins again.

Client:

Code:
#if defined WIN32
...