Re: Keep alive
James Rich <[email protected]>
| Newsgroups | gmane.comp.emulators.tn5250 |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 27 Feb 2009, Scott Klement wrote: > Interesting. Do you know what it actually does, under the covers? > Obviously it's sending some data... but what data can it send that won't > muck up the session? > > I suppose you won't know this... :( I'll have to sniff the connection > to find out Interesting to note that I usually have the exact reverse problem: Windows Client Access sessions drop but tn5250 marches on perfectly. In linux there are three tcp keepalive settings: tcp_keepalive_intvl, tcp_keepalive_probes, and tcp_keepalive_time in /proc/sys/net/ipv4 (at least there are on kernel 2.6.24.5). Might these be something like what you are looking for? I thought I remembered seeing an option to setsockopt that would set the tcp keepalive per socket but a quick review of the man page turns up nothing (other than referencing the /proc settings I listed above). James Rich if you want to understand why that is, there are many good books on the design of operating systems. please pass them along to redmond when you're done reading them :) - Paul Davis on ardour-dev -- This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.