Lecture 5 complete this Flashcards

1
Q

Communications in client- server systems:

Client-server

A

There is an always-on host, called the server, which services requests from many other hosts, called clients.
Clients do not directly communicate with each other.
Clients may be intermittently connected and have dynamic IP addresses.
The server has a fixed, well-known IP address.
Servers are usually reside on data centres for scaling.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Communications in client- server systems:

Peer-to-peer (P2P)

A

There is no always-on server, arbitrary end systems (peers) directly communicate and request / provide service to other peers.
P2P self scales, new peers bring new service capacity and demand.
Peers are intermittently connected and change IP addresses.
Decentralised structure and complex management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are 2 Socket programing types?

A

UDP (User Datagram Protocol)
-connectionless, unreliable
-Message oriented – a group of bytes (“datagram”) is
sent through the socket

TCP (Transmission Control Protocol)
connection-oriented, reliable
Byte Stream oriented – stream of bytes is sent through the socket

How well did you know this?
1
Not at all
2
3
4
5
Perfectly