TCP (Transmission Control Protocol) is a protocol created and developed by the US Department of Defense. TCP, which serves for the smoothness of the basic communication between computers, also authenticates in addition to ensuring data integrity in data exchange.
The reason for the creation of TCP also prevents the loss of communication between computers. Today, data exchange of protocols such as HTTP, HTTPS, POP3, SSH, SMTP, SNMP, TELNET, and FTP is TCP.
TCP is a connection-oriented protocol, which means that the connection is established and maintained until the application programs at both ends have finished exchanging messages.
It determines how the application data is divided into packets that networks can deliver, sends packets to the network layer and accepts packets from these layers, manages flow control, and manages the retransmission of dropped or corrupted ones as it is intended to provide error-free data transmission packets and acknowledges all incoming packets.
In the Open Systems Interconnection (OSI) communication model, TCP encompasses parts of Layer 4, the transport layer, and parts of Layer 5, the session layer.
When a web server sends an HTML file to a client or another server, it uses the hypertext transfer protocol (HTTP) to do so. The HTTP program layer asks the TCP layer to establish the connection and send the file. The TCP stack splits the file into data packets, enumerates it, and then transmits it to the individual IP layer for distribution.
Packets can be sent over multiple routes, although each packet in the transmission has the same source and destination IP address. The TCP program layer on the client computer waits until all packets arrive, then acknowledges their received and requests retransmissions of those that do not receive due to missing packet numbers. The TCP layer then combines the packets into a file and delivers the file to the receiving application.
More Podcasts
On Purpose with Jay Shetty
I’m Jay Shetty host of On Purpose the worlds #1 Mental Health podcast and I’m so grateful you found us. I started this podcast 5 years ago to invite you into conversations and workshops that are designed to help make you happier, healthier and more healed. I believe that when you (yes you) feel seen, heard and understood you’re able to deal with relationship struggles, work challenges and life’s ups and downs with more ease and grace. I interview experts, celebrities, thought leaders and athletes so that we can grow our mindset, build better habits and uncover a side of them we’ve never seen before. New episodes every Monday and Friday. Your support means the world to me and I don’t take it for granted — click the follow button and leave a review to help us spread the love with On Purpose. I can’t wait for you to listen to your first or 500th episode!
Stuff You Should Know
If you've ever wanted to know about champagne, satanism, the Stonewall Uprising, chaos theory, LSD, El Nino, true crime and Rosa Parks, then look no further. Josh and Chuck have you covered.
Dateline NBC
Current and classic episodes, featuring compelling true-crime mysteries, powerful documentaries and in-depth investigations. Follow now to get the latest episodes of Dateline NBC completely free, or subscribe to Dateline Premium for ad-free listening and exclusive bonus content: DatelinePremium.com