Networks Lecture 4
Networks Lecture 4
Lecture 4
By: Dr. Dina Fawzy
In Client-Server Network, Clients and server are In Peer-to-Peer Network, Clients and server are not
differentiated, Specific server and clients are present. differentiated.
In Client-Server Network, Centralized server is used to While in Peer-to-Peer Network, Each peer has its own
store the data. data.
In Client-Server Network, Server respond the services While in Peer-to-Peer Network, Each and every node
which is request by Client. can do both request and respond for the services.
Client-Server Network are costlier than Peer-to-Peer While Peer-to-Peer Network are less costlier than
Network. Client-Server Network.
Client-Server Network is used for both small and large While Peer-to-Peer Network is generally suited for
networks. small networks with fewer than 10 computers.
Process Communication
• Process: program running within a host.
• processes in different hosts communicate by exchanging messages (in
client-server model).
• In Client-Server model:
client process: process that initiates communication.
server process: process that waits to be contacted.
• In Peer-to-Peer model: applications with P2P architectures have client
processes & server processes.