TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do TCP/IP packets work?

1 pointsby softvaralmost 8 years ago

2 comments

ColinWrightalmost 8 years ago
It&#x27;s not clear what your question is. Here&#x27;s a starting point.<p>The Internet runs on packets of data.<p>* IP : Internet Protocol : [0][1]<p>UDP is a simple wrapper around that to include a few extra things such as ports and the like.<p>* UDP : User Datagram Protocol : [2][3]<p>Transmission Control Protocol (TCP) describes how to break a stream into packets and send them over IP, to reassemble them at the other end, and send back acknowledgements to guarantee deliver. It also has mechanisms to help prevent congestion.<p>* TCP : Transmission Control Protocol : [4][5][6]<p>If you read, or at least skim those, then you will be able to ask a proper, well-formulated question.<p>However, the short version:<p><pre><code> Q: Ask HN: How do TCP&#x2F;IP packets work? A: Very well, thank you. </code></pre> ----<p>[0] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Internet_Protocol" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Internet_Protocol</a><p>[1] <a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc791" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc791</a><p>[2] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;User_Datagram_Protocol" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;User_Datagram_Protocol</a><p>[3] <a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc768" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc768</a><p>[4] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Transmission_Control_Protocol" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Transmission_Control_Protocol</a><p>[5] <a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc675" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc675</a><p>[6] <a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc793" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc793</a>
dozziealmost 8 years ago
<a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc791" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc791</a><p><a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc793" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc793</a>