SEG 2105 Lecture Notes - Lecture 4: Open Systems Interconnection, Internet Protocol Suite, Fat Client
Document Summary
A system in which computations are performed by separate programs normally running on separate pieces of hardware that co-operate to perform the task of the system. A program that provides a service for other programs that connect to it using a communication channel. A program that accesses a server (or several servers) to obtain services. A network connects a client and a server. Steps to establish: partition the app (could have a thick or thin client, establish the communication protocol. 1: starts listening for clients, handles the following types of events originating from clients, accepts connections, responds to messages, handles client disconnection, may stop listening, must cleanly terminate. 2: sends messages to server, handles the following types of events originating from the server, responds to messages, handles server disconnection, must cleanly terminate. Concurrency in client-server systems: clients will normally be concurrently, serves will normally be concurrently. Waiting for messages coming from the server.