3
In Windows, when you pull out (trip over it) a network cable, then the connections get reset.
If you do the same on a Linux box or if you put a switch between PC and router and then pull the cable router-switch, then connections don't get reset if you put in the cable fast enough (thanks to TCPs retransmission).
Suppose I am downloading a file with Firefox; how do I prevent Windows from resetting the TCP connection automatically if the ethernet cable is unplugged during the download? My receptacle is broken and my cat always manages to pull out the LAN cable
4Program the mouse to play with the cat? – None – 2012-12-28T10:29:40.703
Use your WiFi ? – rdkleine – 2012-12-28T14:41:11.183
Show us some code... how can we possibly answer this question? – Mike Pennington – 2013-01-01T11:42:30.167
There is no code... open Firefox, start a huge download, pull the network cable and put it in again after a couple of seconds. The download will be either messed up by Firefox or if you're lucky it is resumable. – None – 2013-01-01T13:57:09.763
@user1933738, If there is no code, then you should have asked the question on [su]. [so] is for programming questions; [su] is for questions like this. – Mike Pennington – 2013-01-01T19:44:55.510