The ultimate SO_LINGER page, or: why is my tcp not reliable
This post is about an obscure corner of TCP network programming, a corner where almost everybody doesn’t quite get what is going on. I used to think I understood it, but found out last week that I didn’t. So I decided to trawl the web and consult the experts, promising them to write up their wisdom once and for all, in hopes that this subject can be put to rest. The experts (H. Willstrand, Evgeniy Polyakov, Bill Fink, Ilpo Jarvinen, and Herbert Xu) responded, and here is my write-up. Even though I refer a lot to the Linux TCP implementation, the issue described is not Linux-specific, and can occur on any operating system. Sometimes, we have to send an unknown amount of data from one location to another. TCP, the reliable Transmission Control Protocol, sounds like it is exactly what we need. From the Linux tcp(7) manpage: “TCP provides a reliable, stream-oriented, full-duplex connection between two sockets on top of ip(7), for both v4 and v6 versions. TCP guarantees that the data arrive
The ultimate SO_LINGER page, or: why is my tcp not reliable bert hubert finally blogs code, musings and more Live Search: --> edit The ultimate SO_LINGER page, or: why is my tcp not reliable Posted by bert hubert Sun, 18 Jan 2009 13:03:00 GMT This post is about an obscure corner of TCP network programming, a corner where almost everybody doesn’t quite get what is going on. I used to think I understood it, but found out last week that I didn’t. So I decided to trawl the web and consult the experts, promising them to write up their wisdom once and for all, in hopes that this subject
saved by
related reading
- The Law of Leaky Abstractions – Joel on Softwarejoelonsoftware.com
- Beej's Guide to Network Programmingbeej.us
- Let's code a TCP/IP stack, 1: Ethernet & ARPsaminiir.com
- Why your website should be under 14kB in size | endtimes.devendtimes.dev
- How TCP worksthevalleyofcode.com
- Lập trình socket, giao tiếp client và server bằng ngôn ngữ C (với giao thức TCP)viblo.asia
- TCP and UDP | Computer Securitytextbook.cs161.org
- QUIC is not quick enough over fast internetnews.ycombinator.com
- How NAT traversal workstailscale.com
- Choose TCP or UDP — Networking Foundations Course | Flavio Copesthevalleyofcode.com
- The C10K problemkegel.com
- The Internet explained from first principlesexplained-from-first-principles.com