Explanining the TCP/IP Transport Layer and Application Layer Flashcards
Is the process by which an IP host is able to support multiple sessions simultaneously and manage the individual traffic streams over a single link. A session is created when a source machine needs to send data to a destination machine.
Session Multiplexing
- Detection and retransmission of dropped packets
- Detection and remediation of duplicate or out-of-order data
- Avoidance of congestion in the network
TCP reliability
- Web browsers
- FTP
- Network printing
- Database transactions
Common applications that use TCP
- Domain Name System (DNS)
- Voice over IP (VoIP)
- TFTP
Common applications that use UDP
Calling port number (16 bits)
Source Port
Called port number (16 bits)
Destination Port
Used for reliability and congestion avoidance (32 bits each)
Sequence Number and Acknowledgment Number
Size of the TCP header (4 bits)
Header Length
For future use (3 bits)
Reserved
Control bits (9 bits
Flags
Enables the receiver to demonstrate to the sender that segments are being acknowledged.
Nonce Sum (NS)
Acknowledge that the congestion-indication echoing was received
Congestion Window Reduced (CWR)
Indication of congestion
Explicit Congestion Notification Echo (ECE)
This data should be prioritized over other data.
Urgent (URG)
Used for acknowledgment
Acknowledgment (ACK)
Indicates that application data should be transmitted immediately and not wait for the entire TCP segment
Push (PSH)
Indicates that the connection should be reset
Reset (RST)
Synchronize sequence numbers
Synchronize (SYN)
Indicates there is no more data from sender
Finish (FIN)
Window size value, used for flow control (16 bits)
Window size
Calculated checksum from a constructed pseudo header (containing the source address, destination address, and protocol from the IP header, TCP segment length, and reserved bits) and the TCP segment (TCP header and payload) for error-checking (16 bits)
Checksum
If the URG flag is set, this field is an offset from the sequence number indicating the last urgent data byte (16 bits)
Urgent Pointer