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
Explore this link on the map →saved by
related reading
- The Law of Leaky Abstractions – Joel on Softwarejoelonsoftware.com
- RFC 9293 - Transmission Control Protocol (TCP)datatracker.ietf.org
- A Census of Minecraft Serversblog.bithole.dev
- RFC 761 - DoD standard Transmission Control Protocoldatatracker.ietf.org
- TCP and UDP | Computer Securitytextbook.cs161.org
- Why your website should be under 14kB in size | endtimes.devendtimes.dev
- Server Sent Events are still not production ready after a decade. A lesson for me, a warning for you! - DEV Communitydev.to
- Beej's Guide to Network Programmingbeej.us
- The TCP/IP Guide - TCP Operational Overview and the TCP Finite State Machine (FSM)tcpipguide.com
- The Internet explained from first principlesexplained-from-first-principles.com
- What is TCP/IP in Networking? | Fortinetfortinet.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