<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How TCP Works?]]></title><description><![CDATA[How TCP Works?]]></description><link>https://how-tcp-works.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 16:24:46 GMT</lastBuildDate><atom:link href="https://how-tcp-works.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[What is TCP And How It Works]]></title><description><![CDATA[The Internet made a protocol [Rules] for tranferring the data packats from one computer to another computer so the transferred information dont get loose lts understand how this system works
Working:-
when we want to share a img or a mail the IP adre...]]></description><link>https://how-tcp-works.hashnode.dev/what-is-tcp-and-how-it-works</link><guid isPermaLink="true">https://how-tcp-works.hashnode.dev/what-is-tcp-and-how-it-works</guid><category><![CDATA[how data sent actually]]></category><category><![CDATA[TCP/IP]]></category><category><![CDATA[ChaiCode]]></category><category><![CDATA[Chaiaurcode]]></category><category><![CDATA[#HiteshChaudhary ]]></category><category><![CDATA[How Data Travels on the Internet]]></category><dc:creator><![CDATA[raquib Farooqui]]></dc:creator><pubDate>Thu, 22 Jan 2026 20:25:32 GMT</pubDate><content:encoded><![CDATA[<p>The Internet made a protocol [Rules] for tranferring the data packats from one computer to another computer so the transferred information dont get loose lts understand how this system works</p>
<h3 id="heading-working">Working:-</h3>
<p>when we want to share a img or a mail the IP adress is responsible for sending it</p>
<p>the IP adress is a unique adress for the computer and TCP is a set of rules that the data has to follow in order to send or recieve</p>
<p>there are so many protocols in the world right now (~7000-8000) and the number is constantly increasing but the world already sets a standered set of rules or protocols and the intersting point is that the Internet Assigned Numbers Authority (<strong>IANA</strong>) manages a list of approximately <strong>142 to 256</strong> primary protocol numbers used in IP headers. in there the TCP is #6 and the UDP is #17</p>
<p><img src="https://www.cloudns.net/blog/wp-content/uploads/2022/12/ClouDNS-TCPIP-5-7.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-three-way-handshake"><strong>Three-Way Handshake:-</strong></h3>
<p>the TCP is famous for reliablity , ordered, and error-checked delivery of data.</p>
<p>it works in 3 steps</p>
<ol>
<li><p><strong>SYN (Synchronize):</strong> The client sends a packet with a random initial sequence number to the server, requesting to open a connection (Like in meeting we confirm by saying “am i audible?“)</p>
</li>
<li><p><strong>SYN-ACK (Synchronize-Acknowledge):</strong> The server acknowledges the client's request (incrementing the client's sequence number by 1) and sends its own random initial sequence number.(like the person front of us approoves us “yes I can hear you“</p>
</li>
<li><p><strong>ACK (Acknowledge):</strong> The client sends a final acknowledgment back to the server. Both devices are now synchronized and ready for data transfer.(after the check we start our convesation)</p>
</li>
</ol>
<p><img src="https://media.geeksforgeeks.org/wp-content/uploads/20260116154331773186/tcp_handshake_process.webp" alt class="image--center mx-auto" /></p>
<p>after this three way handshake the real procces start(the data transfer)</p>
<p>TCP makes Segments of the data for sending (sengment means breaking into several parts) and each segment will have assigned unique Number that will be the sequence number for the segment</p>
<p>TCP ensure after recieving every segments that is this data in sequience or any data lost in travelling an dif any then it tells the sender to send again the missing segment</p>
<p>TCP will confirm that every segment is transfered?? and if yes then it closes the connection and for clossing the Both side have to agree to close the connection</p>
<p>By using this Principle ive made a Project for file sharing and for better understanding of data sending It is called <a target="_blank" href="http://pixelkite.in">pixelkite.in</a></p>
<p>Thanks for reading this artical and <strong>Sorry</strong> for promoting my project here</p>
]]></content:encoded></item></channel></rss>