Application Layer 1 Flashcards
1
Q
What are some networking apps?
A
- Social networking
- Web
- Text messages
- Streaming videos
2
Q
When creating a network app, programs are written to…
A
- Run on (different) end systems
- Communicate over network
- e.g. web server software communicates with browser software
3
Q
When creating a network app, we don’t need to write software for…
A
- Network-core devices
- Do not run user applications
- Applications on end systems, allow for raid app development
4
Q
In the client-server paradigm, what does the server contain?
A
- Always-on host
- Permanent IP address
- Often in data centres, for scaling
5
Q
In the client-server paradigm, what does the client contain?
A
- Contact, communicate with server
- Intermittently connected
- Dynamic IP address
- Don’t directly communicate with eachother
6
Q
What does peer-peer architecture contain?
A
- No always-on server
- Arbitrary end systems directly communicate
- Peers request service from other peers
- Peers are intermittently connected
7
Q
What is process communication?
A
- Within the same host, two processes communicate using inter-process communication
8
Q
What are sockets?
A
- Process sends/receives messages to/from its socket
- Socket = door
- 2 sockets on each side (client and server)
9
Q
To receive messages, processes must have an?
A
- Identifier
10
Q
What are identifiers?
A
- Include both IP addresses & port numbers associated with process on host
11
Q
What port number is used for HTTP?
A
- 80 or 8080
12
Q
Host devices have a unique …-bit IP address
A
- 32-bit
13
Q
An application-layer protocol defines:
A
- Types of messages exchanged
- Message syntax
- Message semantics
- Rules
- Open protocols
- Proprietary protocols
14
Q
What transport services does an app need?
A
- Data integrity
- Timing
- Throughput
- Security
15
Q
What does the TCP service provide?
A
- Reliable transport
- Flow control
- Congestion control
- Connection-oriented