flâneur — a map of the web's best reading

The ultimate SO_LINGER page, or: why is my tcp not reliable

blog.netherlabs.nl · 1,946 words · saved by 1 readers

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

Explore this link on the map →

saved by

related reading