Recent

Author Topic: Enable keepalive with lnet?  (Read 17 times)

OH1KH

  • New Member
  • *
  • Posts: 30
Enable keepalive with lnet?
« on: Today at 04:22:45 pm »
HI!

There is a telnet connection made with lnet  TLTelnetClientComponent.
The program is not originally created by me, but I like to make a modification to it.

Question is how I can enable Linux native keep alive for that telnet connect?
I have not found any glue (by Googling) for enabling it with lnet based connection.


[saku@hamtpad ~]$ netstat --timers -tn  | grep 222
tcp        0      0 192.168.60.222:42842    192.168.60.1:3306       ESTABLISHED keepalive (3461,72/0/0)
tcp        0      0 192.168.60.222:46338    213.186.225.90:8000     ESTABLISHED off (0.00/0/0)
tcp6       0      0 192.168.60.222:3306     192.168.60.1:47170      ESTABLISHED keepalive (3442,70/0/0)


The one using port 8000 is just that telnet connection. Always "off".
--
Saku