Re: [Tn5250j-general] Reconnect on SocketException

2010-07-13 Thread kjpou
Mario You can try setting the send keep alive setting on the connection configuration. Try that to see if it works. All it does is send a small byte to the AS400 connection and that might be enough to keep the connection working longer. Regards Kenneth Mario Gonzalez wrote: Hi to all,

[Tn5250j-general] Reconnect on SocketException

2010-07-07 Thread Mario Gonzalez
Hi to all, Is there any way to reconnect a session when a SocketException occurs?. I am trying to use TN5250J on some wireless terminals and sometimes they lost TCP communication for a couple of seconds. The only way that I see is reconnection the session after a timeout when a