From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5147cdb640aef4ef,start X-Google-Attributes: gidfee84,public From: Alain Martineau Subject: SO_KEEPALIVE: how to set Date: 1996/12/26 Message-ID: <32C2A2F5.368@ccr.hydro.qc.ca>#1/1 X-Deja-AN: 206058704 sender: news@ireq.hydro.qc.ca (Netnews Admin) x-nntp-posting-host: modem8.ccr.hydro.qc.ca content-type: text/plain; charset=us-ascii organization: Hydro-Qu�bec mime-version: 1.0 reply-to: amartineau@ccr.hydro.qc.ca newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.0 (Win95; I) I need to make sure a socket connection that a program reads from stays open. So I specify the SO_KEEPALIVE parameter. I can't find nothing as to what its value is, and how I can set it (the value, not the option for the socket). TCP/IP programming books and FAQs tell me that it is often a system-wide parameter, hard to find and to modify. The default should be 2 hours per the RFC, but it is not always the case from OS to OS, so they say. On Digital UNIX, what is its value, and how can it be changed ? Thank you. -- Alain Martineau, Hydro-Quebec Alain.Martineau@ccr.hydro.qc.ca tel : 514-289-4484 ; fax : 514-289-4697