TCP/IP Overview
By: Charles Tillmon

TCP/IP Overview

Have you ever wondered how data is transmitted between computers? Well just like us they must establish a common language before they can communicate. While we may use languages, computers use protocols which are a set of agreements on how they should communicate. These protocols were developed into what is now known as the OSI model; formed in 1984 by the International Standards Organization also known as ISO. While the OSI model has 7 layers our focus will be on the transportation layer and more specifically the TCP/IP protocol.

Typically, data that is rendered to your computer is too large for transport as is. This is where the TCP protocol also known as Transmission Control Protocol comes into play. This splits data into segmented packets for transport and reassembles them at a predetermined location. Each data packet has an associated header that will have contain information on the origin computer, destination computer, and how the packets should be reassembled. IP or Internet Protocol are numbers that are unique to every computer that act like addresses. Computers communicate through numbers and this is the protocol that helps the header determine the origin and destination computer. The main purpose of this is to allow the packets to travel independently with each packet determining the best route to the destination. This minimizes the time it takes to send data so that this process can be as efficient as possible.

TCP also comes with some added measures to ensure that transport runs as smoothly as possible. The first is flow control, which checks the capabilities of both computers to ensure data is not being sent at a speed that exceeds the capabilities of the device it is being sent to. This is communicated in the header and will establish a speed of data transmission that is suitable for both devices. The second measure is error control. Since the data packets arrive to their location independently there is a chance some of the packets can get lost. In these cases, once it is recognized a packet is missing there will be an automatic repeat request. This will start the process over again until all the packets are received.

The transportation layer contains another protocol for a different type of data transmission, but we will cover that later. TCP/IP is the more common protocol on this layer and should be emphasized as such. While this is a brief overview of the protocol we encourage exploring the whole OSI model in depth for a better understanding of what make computers the powerful tools we use everyday.

要查看或添加评论,请登录

Charles Tillmon的更多文章

  • CSS: Normal Document Flow

    CSS: Normal Document Flow

    As we focus more on understanding the styling layer of web pages it is only natural that we discuss the normal document…

  • Async & Await Keywords

    Async & Await Keywords

    When ES2017 was released along with it came the async and await keywords. These keywords were developed to make working…

  • JavaScript Promises

    JavaScript Promises

    Typically, with asynchronous code you will see the use of callback functions, which are functions that are passed as…

  • The Internet vs. The Web

    The Internet vs. The Web

    Have you ever used the Internet and the Web interchangeably? This is a common mistake that many have made, me included.…

  • Core Front-End Components Overview

    Core Front-End Components Overview

    Have you ever wondered how web pages get on the web? When it comes to basic web pages, typically they consist of 3 core…

  • Asynchronous vs. Synchronous Code

    Asynchronous vs. Synchronous Code

    JavaScript is a single threaded, synchronous programming language. This means when code is executed by the JavaScript…

  • Is Modernizing Your Business Worth The Investment?

    Is Modernizing Your Business Worth The Investment?

    “The day that you plant the seed is not the day that you eat the fruit”. This is a mantra that can apply to life, but…

  • JavaScript Basics-Functions: Part 4

    JavaScript Basics-Functions: Part 4

    JavaScript functions are blocks of code that either perform a task or return a value. These blocks of code are executed…

  • JavaScript Basics-Loops: Part 5

    JavaScript Basics-Loops: Part 5

    Loops in JavaScript are a way to repeat the same set of actions a set number of times or until a condition is met…

  • JavaScript Basics-Conditional Statements: Part 3

    JavaScript Basics-Conditional Statements: Part 3

    Sometimes in programming languages the code needs to make a decision on what actions to take dependent upon the…

社区洞察

其他会员也浏览了