0

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

Attachments
1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by bufospro
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.