Hardware Secrets
Home | Audio | Case | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
News
Reviews
Tutorials
Main Menu
About Us
Awarded Products
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Gabriel's Blog
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Newsletter
Subscribe today!
Search




Recommended Book
Build Your Own Wi-Fi Network (Build Your Own...(McGraw))
By
McGraw-Hill/OsborneMedia
Price: $0.30

Home » Networking
How TCP/IP Protocol Works - Part 1
Author: Gabriel Torres
Type: Tutorials Last Updated: March 28, 2007
Page: 3 of 6
$ Check REAL-TIME pricing for Linksys WRT54GS Wireless Router $
eBay: $43.10 TECHONWEB: $70.99
Server Supply: $79.00 Dell: $65.99
Amazon.com Marketplace: $63.84 Jr: $59.99

Transport Layer

When transmitting data, the Transport layer gets data from the Application layer and divides them into several data packets. TCP (Transmission Control Protocol) is the most used protocol on the Transport layer. When receiving data, TCP protocol gets the packets sent by the Internet layer and put them in order, because packets can arrive at the destination out-of-order, and also checks if the contents of the received packet are intact and sends an acknowledge signal to the transmitter, allowing it to know that the packet arrived intact at destination. If no acknowledge signal is received (either because it didn’t arrive the destination or because TCP found out that data was corrupted), the transmitter will re-send the lost packet.

While TCP re-orders packets and also uses this acknowledge system we mention, which is desirable when transmitting data, there is another protocol that works on this layer that does not have these two features. This protocol is called UDP (User Datagram Protocol).

Thus TCP is considered a reliable protocol, while UDP is considered an unreliable protocol. UDP is typically used when no important data is being transmitted, typically on DNS (Domain Name System) requests. Because it does not implement reordering nor an acknowledge system, UDP is faster than TCP.

When UDP is used, the application that requested the transmission will be in charge of checking whether data arrived and if it is intact or not and also reordering the received packets, i.e. the application will do the task of TCP.

Both UDP and TCP will get the data from the Application layer and add a header to it when transmitting data. When receiving data, the header will be removed before sending data to the proper port. On this header there are several control information, in particular the source port number, the target port number, a sequence number (for the acknowledge and reordering systems used on TCP) and a checksum (which is a calculation used to check whether data arrived intact at destination or not). UDP header has 8 bytes while TCP header has 20 or 24 bytes (whether the options field isn’t or is used, respectively).

On Figure 3 we illustrate the data packet generated on the transport layer. This data packet will be sent to the Internet layer (if we are transmitting data) or was sent from the Internet layer (if we are receiving data).

TCP/IP Protocol
click to enlarge
Figure 3: Data packet on the Transport layer.

Pages (6): « 1 2 [3] 4 5 6 »
Print Version | Send to Friend | | Bookmark Article | Comments (0)

Related Content
  • How to Discover Your Network Card Real Manufacturer
  • How to Build a Wireless Network Without Using a Broadband Router
  • How to Build a Network Using a Cross-Over Cable
  • The OSI Reference Model for Network Protocols
  • How TCP/IP Protocol Works - Part 2

  • Recommended Deals
    Linksys WRT54GL Wireless Router


    eBay: $39.99 P.C. Richard & Son: $79.99
    Dell: $75.99 TECHONWEB: $63.70
    Singlefeed: $79.99 Amazon: $51.92
    Linksys Wireless-N WRT150N Router


    TigerDirect.com: $44.99 Server Supply: $70.00
    CompUSA.com: $44.99 Amazon: $45.90
    D-link Xtreme N™ DIR-655 Wireless Router


    CompUSA.com: $99.99 Best Buy®: $99.99
    BuyDig.com: $92.95 Beach Camera.com: $99.00
    Dell Small Business: $336.99 Tigerdirect: $99.99

    RSSLatest News
    OCZ Announces CrossOver USB Flash Memory
    December 4, 2008 - 6:34 PM PST
    NZXT Launches Zero 2 Case
    December 4, 2008 - 6:16 PM PST
    Cooler Master Launches Silent Pro M Power Supplies
    December 3, 2008 - 6:04 PM PST
    G.Skill Launches Triple-Channel DDR3-2000 kits
    December 2, 2008 - 3:48 PM PST
    ASUS Launches Eee PC 1002HA Netbook
    December 2, 2008 - 3:37 PM PST
    New Desktop Processors From Intel
    December 1, 2008 - 2:59 PM PST
    New Fans From Thermalright
    November 28, 2008 - 4:44 AM PST
    Glacialtech Launches UFO V51 CPU Cooler
    November 27, 2008 - 3:18 PM PST
    Lexar Media Launches Triple-Channel DDR3 kits for Core i7 Processors
    November 26, 2008 - 6:23 PM PST
    OCZ Intros Fatal1ty Power Supplies
    November 26, 2008 - 5:53 PM PST
    .:: More News ::.

    RSSLatest Content
    MSI Turbostream 600 W Power Supply Review
    BFG MX-550 Power Supply Review
    Laptop Input Devices
    Tagan A+ El Diablo Advance Case Review
    Nintendo DS Lite Ice Blue Pack Review
    New Page: Awarded Products
    KeyScan KS810 Keyboard-Scanner Review
    Everything You Need to Know About Camera Sensors
    Zalman ZM750-HP Power Supply Review
    How does or would your notebook improve your quality of life? What role does or would it play in your life?
    SilverStone Decathlon 700 W Power Supply Review
    Antec Signature 650 Power Supply Review
    Seventeam ST-550P-AG Power Supply Review
    Logitech QuickCam Pro 9000 Review
    GeForce GTX 260 with 216 cores Video Card Review

    Our Most Popular Articles
    Maximum CPU Temperature
    831,396 views
    nVidia Chips Comparison Table
    518,578 views
    AMD ATI Chips Comparison Table
    456,093 views
    How to Find Out Your Motherboard Manufacturer and Model
    442,680 views
    ATI Radeon X1300 Pro Review
    432,002 views
    ATI Radeon X1600 XT Review
    425,334 views
    Connecting Two PCs Using a USB-USB Cable
    392,655 views
    How To Correctly Apply Thermal Grease
    376,007 views
    Sempron vs. Athlon XP
    292,303 views
    Sempron 3400+ Review
    284,280 views

    Latest Threads in Our Forums
    Access Denied (error message in Vista)
    by uncoil
    OCZ Announces CrossOver USB Flash Memory
    by Hardware Secrets Team
    NZXT Launches Zero 2 Case
    by Hardware Secrets Team
    vga cable ....no input signal
    by pupli
    MSI Turbostream 600 W Power Supply Review
    by Hardware Secrets Team
    Anatomy of Switching Power Supplies
    by Gabriel Torres
    BFG MX-550 Power Supply Review
    by Merman
    CWT 750VH 750 W Power Supply Review
    by Gabriel Torres
    Replacing Hard Drive
    by Fireman4u
    Need help with X-Fi Titanium Onboard Connectors
    by Gabriel Torres
    .:: Visit Our Forums ::.

    © 2004-8, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)