2.2 Architecture Flashcards
What is the purpose of the transport layer?
it ensures data segments are reliably delivered within the context of client-server sessions
What are the key functionalities of the transport layer?
- Reliable and ordered delivery, 2. Multiplexing of conversations between hosts, and 3. flow/congestion control.
IP focuses on Network Controller Interfaces. What does TCP focus on?
Processes.
How do processes relate to ports?
Processes own ports, and initiate connection only in their ports.
Is a socket unique across the Internet? [T/F]
T.
Explain the concept of multiplexing.
When two hosts can have multiple simultaneous conversations.
Explain how ports allow for multiplexing.
TCP divides the communications a host can be involved with into ports. This allows two hosts to perform several simultaneous communications without getting data confused.
How is a port identified.
A port is identified by a number, used in each message between hosts. Port identities the communication the message belongs to.
What is a socket.
A socket is a combination of an IP address and a port.
Is the concept of a socket part of TCP specification? [T/F]
T.
Is the assignment of sockets to services part of TCP specification? [T/F]
F.
Give the name of the organisation that maintains the list of assigned ports.
Internet Assigned Numbers Authority (IANA).
Service names are assigned on a first-come, first-served process, as documented in rfc6335.
What is the mandatory size of a TCP segment header.
20 bytes.
What is the size of a port in the TCP segment header?
16 bits, 2 bytes. Value between 0-65535.
How does a TCP message header allow for unique identification of a session between two sockets.
TCP header includes the source and destination ports, while the source and destination host addresses can be found in the IP header.