Presentation on theme: "Client Server. Server Client Model Servers- Wait for requests from clients - Sends requested data to client - May have to communicate with other servers."— Presentation transcript:
Server Client Model Servers- Wait for requests from clients - Sends requested data to client - May have to communicate with other servers Client- Sends requests to server - Waits and receives reply from server -Can connect to a small number of servers at any one time
How do so many devices connect to one server? There is a vast variety of devices that can connect to servers each having various protocols. Think your iPhone connecting to the internet compared to your Laptop. Each can accept different packet sizes, how do you know if its even connected. Lucky you someone cam up with TCP (Transmission Control Protocol) – its apart of the IP suite.
Handshake Part of TCP is the 3 way handshake Take a look at the video
How does this effect how we code a solution Massively! Client server coding requires your application to be stored on a server not on the PC You have to consider a lot more things such as protocols, server resources, what version is running etc. Standalone programming is much easier as you have less constraints. Only limited to the PC you are working with.
Question from you
Questions from Me What does the Handshake model achieve? Summarise the Handshake model Outline the server client model How doe the server client model effect how we create applications.