Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPundalik Sutar
654 PointsIncorrect information in the video at 0:24
The information provided from 0:24 onwards, which states TCP creates packets, is incorrect. TCP Layer 4 protocol and IP is layer 3 protocol. Layer 4 protocal creates segments and then segment is encapsulated in Layer 3 protocol to create a packet. Please update this information to avoid any confusion for beginners. Thank you
1 Answer
Sam Hall
Courses Plus Student 8,636 PointsI'm not Treehouse staff, nor an expert in network communications, but after seeing Pundalik's comment and doing a little reading/research, I found a bit on Wikipedia which clarified this for me (source):
Transmission Control Protocol accepts data from a data stream, divides it into chunks,
and adds a TCP header creating a TCP segment. The TCP segment is then encapsulated
into an Internet Protocol (IP) datagram, and exchanged with peers.
The term TCP packet appears in both informal and formal usage, whereas in more precise
terminology segment refers to the TCP protocol data unit (PDU), datagram to the IP PDU,
and frame to the data link layer PDU.
The unit of data involved does technically have a different name depending on protocol 'layer' that is involved.
In these videos, though, I think Joy is using the word 'packet' in the informal sense, to explain only the basic concepts of what TCP/IP suite does (i.e TCP splits/resembles data and IP tells data where to and where it should return to).
This video is only an introduction after all.
Other introductions/simplified explanations of TCP/IP use the word 'packet' in this way too.
Nickolas Runnion
1,902 PointsNickolas Runnion
1,902 PointsI would appreciate a response from treehouse about the comment above. I am slightly confused now. Thought I had an understanding after the video.....