Does anyone know if Linux supports keep-alive socket options on an outgoing connection?
I made an outgoing connection with keep-alive options but netstat --timers shows off (I'm assuming timers are off):
tcp 0 0 localhost.localdomain:44307 172.16.0.15:2717 ESTABLISHED off (0.00/0/0)
Incoming connections with the same socket options applied show:
tcp 0 0 172.16.0.3:8585 localhost.localdomain:21527 ESTABLISHED keepalive (29.26/0/0)
I wish I could see socket options but neither ss or lsof will show me them.