Timeout issue with end device (General questions)
We've got an application that uses wodSSH to connect to various end devices. It works fine for most of them, but we've now encountered a customer's device that appears to timeout the connection after 1 minute of inactivity.
We're not setting a timeout value (well, we are, but we're setting it to 0), and we've tried setting a KeepAlive value to no avail:
Client = new TwodSSHCom((TComponent*)NULL);
Client->set_Timeout(0);
Client->set_KeepAlives(10);
We turned on debug logging in wodSSH and here's the output:
*** OnConnect received, err = 0
OVL111 IDLE 0
OVL111 TTY 15 0 ADMIN
.
TTY #14 LOGGED IN ADMIN 08:52 4/3/2013
TIM000 08:53 4/3/2013 CPU 0
AUD118 00000001 00000130 0000C884 00000000 0000341E
SEC053 SSH WARNING message: rxError eSSH_rxErrorKeepAliveClnt (3) detected
*** OnClose received, err = 0
Any ideas on what we can do to prevent this timeout?