BITS Pilani: Client-Server Communication Model
BITS Pilani: Client-Server Communication Model
• Request-response communication
model
Client
1
• Server – entity providing services
• Client – entity requesting for services
Client
2 Client
2
• Server – listens for requests from
clients
• Client – knows available servers and
services provided
Client-Server Communication
BITS Pilani
Client 1
Client 2
Client 2
• Client establishes a connection with the
server
• Client sends request to the server
• Server processes the request, decides • Variant of the P2P communication
how to respond and sends back a model
response, if needed • Connection-oriented
• Client then closes the connection • Single server or multiple servers
Communication Primitives
BITS Pilani
1 4 3 2
Client Server
Communication Primitives
BITS Pilani
1 4 3 2
Client Server
Client-Server Communication
BITS Pilani