1/27
Flashcards covering key concepts related to TCP and UDP operations, including protocols, header formats, and state transitions.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
TCP
Transmission Control Protocol, connection-oriented and reliable.
UDP
User Datagram Protocol, connectionless and not reliable.
SCTP
Stream Control Transmission Protocol, designed for reliable transmission over connectionless networks.
Byte Offset
Position in the IP header that indicates various fields, including Length and Address.
Sequence Number
An identifier for the segment being transmitted in TCP.
Acknowledgement Number
The value of the next sequence number expected to be received in TCP.
Data Offset
Number of 32-bit words in the TCP header that indicates where the data begins.
Window
Number of bytes that this device is able to accept starting from the acknowledged sequence number.
Checksum
A 16-bit value used to verify the integrity of the TCP or UDP header.
Control Fields
Flags in the TCP header used to manage the state and control of the connection.
ESTABLISHED
TCP state indicating a successful connection has been made for data transfer.
CLOSED
TCP state indicating no connection is currently active.
FIN
Flag to indicate the end of data transmission in TCP.
Connection Termination
Process of ending a TCP connection, which involves FIN and ACK flags.
Well Known Port Numbers
Ports assigned for standard services like HTTP (80) and FTP (21) by IANA.
TCP State Machine
A diagram showing the various states of a TCP connection and how it transitions between them.
UDP Length
Total length of the UDP segment including header and data.
UDP Checksum
A method to check for errors in the UDP segment.
True/False: TCP is a connection-oriented protocol that ensures reliable data transmission.
True
True/False: UDP provides ordered and reliable delivery of data segments.
False
True/False: The Byte Offset field is used to specify a position within the IP header.
True
True/False: The Acknowledgement Number in TCP represents the sequence number of the next byte the receiver expects to get.
True
True/False: The Data Offset field in the TCP header indicates the header length in bytes.
False
True/False: The TCP Window field advertises the number of bytes the receiving device is currently willing to accept.
True
True/False: A Checksum is a 16-bit value primarily used for encryption in TCP and UDP.
False
True/False: The ESTABLISHED state in TCP means the connection is active and data transfer can occur.
True
True/False: The FIN flag in TCP signifies that the connection has fully terminated and resources have been deallocated.
False
True/False: Well Known Port Numbers are used for temporary connections and are assigned randomly.
False