TCP (Transmission Control Protocol) is a reliable transport protocol as it establishes a connection before sending any data and everything that it sends is acknowledged by the receiver. In this lesson we will take a closer look at the TCP header and its different fields. Here’s what it looks like: Let’s walk through all these fields:
To see these fields in action, it’s best to play around with wireshark. Here’s an example of the first part of the TCP three way handshake. I highlighted all the fields: Above you can see the source and destination port. The sequence number is 0 but wireshark tells us that this is a relative sequence number. In reality, it’s something else. You can see the SYN bit has been set in the flags, the window size, checksum, urgent pointer and options. TCP is a complex protocol but hopefully this lesson has helped to understand what the TCP header looks like. If you have any questions, feel free to leave a comment in our forum.
Latest Submission Grade: 85.71% Question 1If a TCP socket is ready and listening for incoming connections, it's in the ______ state.
Question 2The instantiation of an endpoint in a potential TCP connection is known as a ______.
Question 3HTTP is an example of a(n) ______ layer protocol.
Question 4Application layer data lives in the _____ section of the transport layer protocol.
Question 5How many bits are used to direct traffic to specific services running on a networked computer?
Question 6The transport layer handles multiplexing and demultiplexing through what type of device?
Question 7What port does the File Transfer Protocol (FTP) typically listen on?
Question 8Which field in a Transmission Control Protocol (TCP) header is chosen from ephemeral ports?
Question 9Which field in a Transmission Control Protocol (TCP) header is not typically used in modern networking?
Question 10The checksum doesn't compute for a packet sent at the Internet Protocol (IP) level. What will happen to the data?
Question 11Connection-oriented protocols protect against dropped data by forming connections and using what type of constant stream?
Question 12In which scenario should you use the User Datagram Protocol (UDP)?
Question 13You are sending a very small amount of information that you need the listening program to respond to immediately. Which Transmission Control Protocol (TCP) flag will be used?
Question 14Which Transmission Control Protocol (TCP) flag is used to make sure the receiving end knows how to examine the sequence number field?
|