Recent

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

OH1KH

  • Jr. Member
  • **
  • Posts: 63
Enable keepalive with lnet?
« on: February 18, 2020, 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

MarkMLl

  • Hero Member
  • *****
  • Posts: 6686
Re: Enable keepalive with lnet?
« Reply #1 on: February 18, 2020, 05:38:15 pm »
I've used lnet's telnet client a moderate amount without having to do this. What isn't keeping alive: is this an issue with whatever you've got running as a server or with intervening network equipment?

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018