4 ms·
.. on Linux. If you do that on Windows the MAC will detect the loss of link pulses, report the interface as down, and Windows will "helpfully" reset all your TC
by pjc50 2y ago
.. on Linux. If you do that on Windows the MAC will detect the loss of link pulses, report the interface as down, and Windows will "helpfully" reset all your TCP connections.
- IshKebab 2y agoThat seems like way more sensible behaviour.
- Rygian 2y agoHow so?
- paulddraper 2y agoMore immediate response to disconnection. Rather than "IDK keep sending but I haven't heard ACK in a while"
- Rygian 2y agoWhen the disconnection is brief, there's no need to respond to it. It's the conceptual equivalent of your phone "helpfully hanging up" when you change the phone from one ear to the other during a call.
- paulddraper 2y agoIt's the conceptual equivalent of your phone helpfully hanging up when you turn on airplane mode.
- Rygian 2y agoTurning on airplane mode explicitly signals "sever all communications" in a way that making a quick adjustement of an ethernet plug does not.
- maxbond 2y agoIt's a tradeoff between robustness to transient errors and reporting errors quickly. "Most errors are transient" is a widely applicable rule of thumb. But both approaches have merit.
- userbinator 2y agoI remember there was a (now rather obscure) patch floating around in the days of Win9x/2K that gave you the Linux behaviour, with an associated option to extend the timeout to very large values. Later, Microsoft made it configurable: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/disable-media-sensing-feature-for-tcpip https://learn.microsoft.com/en-us/troubleshoot/windows-serve... Of course if the connection is active when that happens, the other end will probably not like the prolonged silence, and give up first.