tags:

views:

28

answers:

0

From the Transmission Control Protocol Wikipedia article:

For example, when an HTML file is sent from a Web server, the TCP software layer of that server divides the sequence of bytes of the file into segments and forwards them individually to the IP software layer (Internet Layer). The Internet Layer encapsulates each TCP segment into an IP packet by adding a header that includes (among other data) the destination IP address. Even though every packet has the same destination address, they can be routed on different paths through the network. When the client program on the destination computer receives them, the TCP layer (Transport Layer) reassembles the individual segments and ensures they are correctly ordered and error free as it streams them to an application.

  1. TCP splits the data into segments
  2. IP puts the segments inside packets
  3. Is it IP takes the segments from the packets?
  4. Is it TCP joins the segments into data?