scandum / tintin

TinTin++, aka tt++, is an extensible console MUD client.
https://tintin.mudhalla.net
GNU General Public License v3.0
201 stars 56 forks source link

enable TCP keepalive #101

Closed beinvisible closed 2 years ago

beinvisible commented 2 years ago

This patch enables the SO_KEEPALIVE option on the host socket, so tintin can make use of the kernel's tcp_keepalive feature.

Background: my ISP recently reconfigured the NAT timeout on their routers to 1 minute, which causes a MUD connection to break regularly.

scandum commented 2 years ago

Thanks, I'll incorporate this up stream.