From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public X-Google-Thread: 111731,d4c1f7c0fe672a4 X-Google-Attributes: gid111731,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: Night time Re: Different UNIX pro's and con's. Date: 1998/10/03 Message-ID: <6v64d3$af4@ds2.acs.ucalgary.ca>#1/1 X-Deja-AN: 397451511 References: <6tovb9$rs4$1@enterprise.nssl.noaa.gov> <3601DE1E.B03FA547@home.com> <3601EACB.93BB1252@home.com> <3603F04E.315ADEE2@gce.com> <36112946.D2CC7640@kodak.com> <6utpmj$gjo@ds2.acs.ucalgary.ca> <3613BFBE.A51E09D8@kodak.com> <361401CD.ABD@s054.aone.net.au> <36152E4F.5F25BF55@kodak.com> Followup-To: comp.unix.advocacy,comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec Organization: The University of Calgary Newsgroups: comp.unix.advocacy,comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec Philip Isaac (pisaac@kodak.com) wrote: : Forgive me for being a little slow but I have never set a timeout on a : socket. : Are you saying I just put in my .login something like "setsockopt(a : really long time)", then, I can suspend my system from CDE, unplug it, : come back a few days later, turn it back on, and all my telnet : connections will resume? No. You go over the source code of all applications you might use (in this case, telnet), as well as over the source code of all the applications they may connect to on the remote side (i.e. telnetd or in.telnetd, or whatever your remote system calls it), and remove all instances of setsockopt(,,SO_KEEPALIVE,...). Then you recompile, and do as you say. If you are really lucky, and all applications you are using are well-behaved, you may get away with replacing setsockopt() call in your standard shared library (on both sides of the connection) or with on-the-fly patching using the /proc interface. Cheers, /Serge.P