Ex:
*I go to indian restaurant.the waiter comes and give me the menu(in english).He takes a note and translate them to Hindi and return to the indian chef.then chef prepares my meals and return me by waiter.
*At this point
waiter-interface/protocol
I-client
Chef-Server
*I hope now you have solid understanding on topic.
The client–server model of computing is a distributed application structure that partitions tasks or workloads between the providers of a resource or service, called servers, and service requesters, called clients.
Functions of server.
*listen for client requests.
*process the requests.
*return the result back to the client.
Client side functions
*Handle the user interface.
*Translate the user's request into the desired protocol.
*Send the request to the server.
*Wait for the server's response.
*Translate the response into "human-readable" results.
*Present the results to the user.