Hi, I am trying to make a server-client program about a bank.
When a client connects to server , he has to send a character so as to define the operation like 'D' for create account.
And I would like when client sends q to terminate .
The character is saved in a buffer.
If the server take the character send message to the client 'You decide to create an account'.
Also I would like when I press a character in server to terminate and not with ctrl^c.
Could someone help me ??
Thanking you in advance