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


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

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       ESTABLISHED keepalive (3461,72/0/0)
tcp        0      0     ESTABLISHED off (0.00/0/0)
tcp6       0      0      ESTABLISHED keepalive (3442,70/0/0)

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