<?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 Re: enable KEEPALIVE at TCP/IP socket in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871842#M53019</link>
    <description>Hmm, units are in half seconds. You program times out in around that time.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Thu, 28 Sep 2006 17:53:22 GMT</pubDate>
    <dc:creator>STEPHEN CONWAY_1</dc:creator>
    <dc:date>2006-09-28T17:53:22Z</dc:date>
    <item>
      <title>enable KEEPALIVE at TCP/IP socket</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871840#M53017</link>
      <description>&lt;!--!*#--&gt;We want ot enable the SO_KEEPALIVE option on a socket.&lt;BR /&gt;We have written next program to do so, but no keep alive signal is received at the other party. When running the same program on LINUX, it will work. What are we doing wrong?&lt;BR /&gt;We are running OpenVMS 7.3-2 on AXP.&lt;BR /&gt;Program is added, it takes two paremeters:&lt;BR /&gt;- ip address&lt;BR /&gt;- port number</description>
      <pubDate>Thu, 28 Sep 2006 14:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871840#M53017</guid>
      <dc:creator>Broer van Smeden</dc:creator>
      <dc:date>2006-09-28T14:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: enable KEEPALIVE at TCP/IP socket</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871841#M53018</link>
      <description>Works for me:&lt;BR /&gt;&lt;BR /&gt;LASSIE_2&amp;gt; foo 127.0.0.1 23&lt;BR /&gt;Connected (0)&lt;BR /&gt;Timer: 60&lt;BR /&gt;Got: -1&lt;BR /&gt;Got: -5&lt;BR /&gt;Got: 1&lt;BR /&gt;&lt;ON and="" on...=""&gt;&lt;BR /&gt;&lt;BR /&gt;LASSIE_3&amp;gt; tcpip sho dev/full bg16037&lt;BR /&gt;Device_socket:  bg16037     Type: STREAM&lt;BR /&gt;.......&lt;BR /&gt;&lt;BR /&gt;  Options:  KEEP&lt;BR /&gt;  State:    ISCONNECTED&lt;BR /&gt;  RCV Buff: ASYNC&lt;BR /&gt;  SND Buff: ASYNC&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The first keepalive packet will not&lt;BR /&gt;be sent for two hours.  To adjust:&lt;BR /&gt;&lt;BR /&gt;$ sysconfig -r inet tcp_keepidle=&lt;SECONDS&gt;&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;/SECONDS&gt;&lt;/ON&gt;</description>
      <pubDate>Thu, 28 Sep 2006 17:21:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871841#M53018</guid>
      <dc:creator>STEPHEN CONWAY_1</dc:creator>
      <dc:date>2006-09-28T17:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: enable KEEPALIVE at TCP/IP socket</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871842#M53019</link>
      <description>Hmm, units are in half seconds. You program times out in around that time.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 28 Sep 2006 17:53:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871842#M53019</guid>
      <dc:creator>STEPHEN CONWAY_1</dc:creator>
      <dc:date>2006-09-28T17:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: enable KEEPALIVE at TCP/IP socket</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871843#M53020</link>
      <description>We are running the next versions&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; show version&lt;BR /&gt;&lt;BR /&gt;  Compaq TCP/IP Services for OpenVMS Alpha Version V5.3 - ECO 4&lt;BR /&gt;  on a COMPAQ AlphaServer DS20E 833 MHz running OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How did you determine which BG device is used?</description>
      <pubDate>Fri, 29 Sep 2006 03:57:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871843#M53020</guid>
      <dc:creator>Broer van Smeden</dc:creator>
      <dc:date>2006-09-29T03:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: enable KEEPALIVE at TCP/IP socket</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871844#M53021</link>
      <description>&lt;!--!*#--&gt;Ok, when using SDA, found out that the process is using next device.&lt;BR /&gt;So it seems that KEPPALIVE is on, but how about the other settings.&lt;BR /&gt;Next options were our intensions:&lt;BR /&gt;-Send keep alive after 60 seconds idle time&lt;BR /&gt;-Send the next keep alive after 5 seconds if it fails to do&lt;BR /&gt;- After 3 try, it should signal the disconnection.&lt;BR /&gt;&lt;BR /&gt;I also added the TCPIP settings:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Device_socket:  bg6343      Type: STREAM&lt;BR /&gt;                      LOCAL                          REMOTE&lt;BR /&gt;         Port:        50151                           20005&lt;BR /&gt;         Host:  10.13.1.36                      10.254.8.148&lt;BR /&gt;      Service:                                   &lt;BR /&gt;  &lt;BR /&gt;                                                           RECEIVE       SEND&lt;BR /&gt;                                   Queued I/O                    0             0&lt;BR /&gt;       Q0LEN         0             Socket buffer bytes           0             0&lt;BR /&gt;       QLEN          0             Socket buffer quota       61440         61440&lt;BR /&gt;       QLIMIT        0             Total buffer alloc            0             0&lt;BR /&gt;       TIMEO         0             Total buffer limit       491520        491520&lt;BR /&gt;       ERROR         0             Buffer or I/O waits           1             0&lt;BR /&gt;       OOBMARK       0             Buffer or I/O drops           0             0&lt;BR /&gt;                                   I/O completed                 1             0&lt;BR /&gt;                                   Bytes transferred             0             0&lt;BR /&gt;      &lt;BR /&gt;  Options:  KEEP&lt;BR /&gt;  State:    ISCONNECTED PRIV&lt;BR /&gt;  RCV Buff: WAIT&lt;BR /&gt;  SND Buff: None&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ tcpip sysconfig -q inet&lt;BR /&gt;inet:&lt;BR /&gt;icmp_rejectcodemask = 0&lt;BR /&gt;inifaddr_hsize = 32&lt;BR /&gt;ipdefttl = 64&lt;BR /&gt;ipdirected_broadcast = 0&lt;BR /&gt;ipforwarding = 0&lt;BR /&gt;ipfragttl = 60&lt;BR /&gt;ipgateway = 0&lt;BR /&gt;ipport_userreserved = 65535&lt;BR /&gt;ipport_userreserved_min = 49152&lt;BR /&gt;ipqmaxlen = 1024&lt;BR /&gt;ipqs = 1&lt;BR /&gt;ipsendredirects = 1&lt;BR /&gt;ipsrcroute = 1&lt;BR /&gt;pmtu_decrease_intvl = 1200&lt;BR /&gt;pmtu_enabled = 1&lt;BR /&gt;pmtu_increase_intvl = 240&lt;BR /&gt;pmtu_rt_check_intvl = 20&lt;BR /&gt;subnetsarelocal = 1&lt;BR /&gt;tcbhashnum = 1&lt;BR /&gt;tcbhashsize = 512&lt;BR /&gt;tcbquicklisten = 1&lt;BR /&gt;tcp_compat_42 = 1&lt;BR /&gt;tcp_cwnd_segments = 2&lt;BR /&gt;tcp_dont_winscale = 0&lt;BR /&gt;tcp_keepalive_default = 0&lt;BR /&gt;tcp_keepcnt = 8&lt;BR /&gt;tcp_keepidle = 14400&lt;BR /&gt;tcp_keepinit = 150&lt;BR /&gt;tcp_keepintvl = 150&lt;BR /&gt;tcp_msl = 60&lt;BR /&gt;tcp_mssdflt = 536&lt;BR /&gt;tcpnodelack = 0&lt;BR /&gt;tcp_recvspace = 61440&lt;BR /&gt;tcp_rexmit_interval_min = 2&lt;BR /&gt;tcp_rexmtmax = 128&lt;BR /&gt;tcprexmtthresh = 3&lt;BR /&gt;tcp_rttdflt = 3&lt;BR /&gt;tcp_sendspace = 61440&lt;BR /&gt;tcp_ttl = 60&lt;BR /&gt;tcptwreorder = 0&lt;BR /&gt;tcp_urgent_42 = 1&lt;BR /&gt;udpcksum = 1&lt;BR /&gt;udp_recvspace = 42080&lt;BR /&gt;udp_sendspace = 9216&lt;BR /&gt;udp_ttl = 30&lt;BR /&gt;ovms_nobroadcastcheck = 0&lt;BR /&gt;ovms_printf_to_opcom = 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Sep 2006 04:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/enable-keepalive-at-tcp-ip-socket/m-p/3871844#M53021</guid>
      <dc:creator>Broer van Smeden</dc:creator>
      <dc:date>2006-09-29T04:39:27Z</dc:date>
    </item>
  </channel>
</rss>

