<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic TCPIP KeepAlive in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177565#M43685</link>
    <description>How do I use the KeepAlive option, from a C program, to prevent a TCPIP connection from disconnecting when there is no traffic for a long time?&lt;BR /&gt;There used to be a good site from Digital about TCPIP, but I can't find it anymore.</description>
    <pubDate>Thu, 10 Apr 2008 08:41:04 GMT</pubDate>
    <dc:creator>Mark Battle</dc:creator>
    <dc:date>2008-04-10T08:41:04Z</dc:date>
    <item>
      <title>TCPIP KeepAlive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177565#M43685</link>
      <description>How do I use the KeepAlive option, from a C program, to prevent a TCPIP connection from disconnecting when there is no traffic for a long time?&lt;BR /&gt;There used to be a good site from Digital about TCPIP, but I can't find it anymore.</description>
      <pubDate>Thu, 10 Apr 2008 08:41:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177565#M43685</guid>
      <dc:creator>Mark Battle</dc:creator>
      <dc:date>2008-04-10T08:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP KeepAlive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177566#M43686</link>
      <description>It seems it is in the doc&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/73final/6529/6529pro_022.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/73final/6529/6529pro_022.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Appendix A&lt;BR /&gt;Socket Options&lt;BR /&gt;This appendix describes the socket options that you can set with theSockets APIsetsockopt() function and the $QIO system service IO$_SETMODE and IO$_SETCHAR I/O function codes. You can query the value of these socket options using the Sockets APIgetstockopt() function or the $QIO system service IO$_SENSEMODE or IO$_SENSECHAR I/O function code.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Apr 2008 09:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177566#M43686</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-04-10T09:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP KeepAlive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177567#M43687</link>
      <description>In tcpip$examples, you can find some C programs, among them&lt;BR /&gt;&lt;BR /&gt;SYS$COMMON:[SYSHLP.EXAMPLES.TCPIP]TCPIP$TCP_SERVER_QIO.C;1&lt;BR /&gt;&lt;BR /&gt;shows&lt;BR /&gt; *      1) To create a socket and set REUSEADDR option:&lt;BR /&gt;&lt;BR /&gt;Not keepidle, but an example on how to set an option on a socket.&lt;BR /&gt;&lt;BR /&gt;For the website, I guess you were looking for &lt;BR /&gt;&lt;A href="http://askq.compaq.com" target="_blank"&gt;http://askq.compaq.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;which is now redirected, and I can't find anything with it.&lt;BR /&gt;&lt;BR /&gt;I hope all the good articles&lt;BR /&gt;Example-C How to...&lt;BR /&gt;and&lt;BR /&gt;Example-Basic and many others&lt;BR /&gt;are not lost</description>
      <pubDate>Thu, 10 Apr 2008 09:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177567#M43687</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-04-10T09:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP KeepAlive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177568#M43688</link>
      <description>&lt;!--!*#--&gt;After you've created your socket, the call should be something like the hollowing: &lt;BR /&gt;&lt;BR /&gt;      struct tcp_keepalive { &lt;BR /&gt;         int idle_time;      /* Idle time before first probe */ &lt;BR /&gt;         int probe_intvl;    /* Time between probes */ &lt;BR /&gt;         int probe_count;    /* Number of probes before closing connection */ &lt;BR /&gt;      }; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  Status = setsockopt(socket, IPPROTO_TCP, TCP_KEEPALIVE, &lt;BR /&gt;                       &amp;amp;keepalive, sizeof(keepalive)); &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Apr 2008 12:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177568#M43688</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2008-04-10T12:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP KeepAlive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177569#M43689</link>
      <description>Great. Now it works. Thanks</description>
      <pubDate>Fri, 11 Apr 2008 09:12:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-keepalive/m-p/4177569#M43689</guid>
      <dc:creator>Mark Battle</dc:creator>
      <dc:date>2008-04-11T09:12:31Z</dc:date>
    </item>
  </channel>
</rss>

