🦋 tmoth 🦋

Experimental program to keep TCP connections alive even when they have actually died.
Instead of connecting Program A on Host A to Program B on Host B through a TCP connection, you connect Program A with a tmoth client running on Host A, which connects to the tmoth server on Host B, which then connects to Program B.
If the connection between the two tmoths dies, the two local connections (Program A to tmoth client and tmoth server to Program B) are kept alive, and the tmoth client tries to reconnect to the server.
This means that, theoretically, neither Program A nor Program B should ever end up with dead TCP connections. In practice, I'm not sure if this actually achieved anything, but it was a fun 2-day project.



And yes, if you think this idea is similar to the one you're still not working on, except that your idea actually makes sense and mine is kindof goofy, and if you think that this project may have been inspired by your idea, then yes, this thing exists only because of you, and I blame you for everything, especially making my hour-long train rides this weekend a lot less boring. how dare you. you know who you are