Lecture 1 Flashcards
What is a process?
A process is a program that runs on a host.
How do processes communicate when on the same host?
Through OS (Operating System) defined interprocess communication.
How do processes communicate when they are on different hosts?
They exchange messages.
Before processes communicate, which process initiates the communication?
The client, as it is the one who needs something from the server.
In peer-to-peer connections, what types (Client or Server) of processes are used?
Both client and server processes.
Name the 3 architectures used to facilate communication over a network.
- Client-Server
- Peer-to-Peer
- Hybrid
What are messages sent and received through in a network?
A socket.
All processes send and receive messages over sockets.
What are the layels in 5 layel model?
- Application
- Transport
- Network
- Link
- Physical
How do application transport services achieve security?
Almost all data going over a network is encrypted.
What does TCP stand for?
Transmission Control Protocol/Program.
Why would we use UDP over TCP?
For speed and efficiency.
Give some advantages that TCP has.
It is Connection oriented (Requires setup between client and server).
It is Reliable (Sender waits for acknowledgement that packet was received).
It has Flow control (Doesn’t overwhelm the receiver).
It has Congestion control (Sender is throttled when the network is overloaded).