<?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: Reading Multicast UDP Packets Using C and Systems Services in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188143#M26661</link>
    <description>I'm not able to provide enough information to make the conversation/thread useful.</description>
    <pubDate>Sun, 19 Jul 2009 20:53:29 GMT</pubDate>
    <dc:creator>john weed</dc:creator>
    <dc:date>2009-07-19T20:53:29Z</dc:date>
    <item>
      <title>Reading Multicast UDP Packets Using C and Systems Services</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188139#M26657</link>
      <description>Does anyone have a fast and dirty example of the code sequence to establish the socket and read multicast UDP packets? I can't seem to get my code to work with the IO$SETMODE calls, itemlists, etc. I'm trying to do the REUSEADDR and TCPIP$C_IP_ADD_MEMBERSHIP options in one call... argh. Please help. The documentation says it can be done, but none of it has an example using system services. (help)</description>
      <pubDate>Sun, 19 Jul 2009 12:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188139#M26657</guid>
      <dc:creator>john weed</dc:creator>
      <dc:date>2009-07-19T12:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Multicast UDP Packets Using C and Systems Services</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188140#M26658</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Some details would be of great help here.&lt;BR /&gt;&lt;BR /&gt;Which OS version, which IP stack (and version), and a small sample reproducer of the problem.&lt;BR /&gt;&lt;BR /&gt;Otherwise, we are forced to guess which of the (infinitely) possible ways in which the code may not be correct. Create a small (approximately 50-75 line) example of how the code in question is attempting to read multicast UDP packets and what error codes are returned on the QIO (both as the function return in R0; and in the IOSB for the request if the function return is SS$_NORMAL, e.g. 1).&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Sun, 19 Jul 2009 17:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188140#M26658</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-07-19T17:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Multicast UDP Packets Using C and Systems Services</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188141#M26659</link>
      <description>First, thank you very much for the reply.&lt;BR /&gt;I am heading back to Iraq, and unfortunately do not have access to the code snippet that was causing me grey hair. &lt;BR /&gt;&lt;BR /&gt;However, to isolate the problem, I reduced the issue to trying to modify the UDP Server programming example E-10, in the "Compaq TCP/IP Services for OpenVMS Sockets API and System Services Programming" to do what I needed, which is to read multicast UDP. &lt;BR /&gt;&lt;BR /&gt;I am currently on OpenVMS 7.3-2, using either V5.3 or 5.4 (don't remember right now) and IPv4. &lt;BR /&gt;&lt;BR /&gt;In that programing example, I added a second itemlist to this section in the example:&lt;BR /&gt;&lt;BR /&gt;reuseaddr_itemlst.length  = sizeof( one );&lt;BR /&gt;    reuseaddr_itemlst.type    = TCPIP$C_REUSEADDR;&lt;BR /&gt;    reuseaddr_itemlst.address = &amp;amp;one;&lt;BR /&gt;&lt;BR /&gt;    /*&lt;BR /&gt;     * init sockopt's item-list descriptor&lt;BR /&gt;     */&lt;BR /&gt;&lt;BR /&gt;    sockopt_itemlst.length  = sizeof( reuseaddr_itemlst );&lt;BR /&gt;    sockopt_itemlst.type    = TCPIP$C_SOCKOPT;&lt;BR /&gt;    sockopt_itemlst.address = &amp;amp;reuseaddr_itemlst;&lt;BR /&gt;&lt;BR /&gt;That item list had the TCPIP$C_IP_ADD_MEMBERSHIP, multicast address group and TCPIP$C_INADDR_ANY.&lt;BR /&gt;&lt;BR /&gt;Thre were no errors, just that it never read any of the multicast traffic, that we verified was there. &lt;BR /&gt;&lt;BR /&gt;If someone could modify that example in the manner necessary with sample address it wold help. I'd then relay back home where to look and what to recompile.&lt;BR /&gt;&lt;BR /&gt;Again, sorry for the lack of evidence.</description>
      <pubDate>Sun, 19 Jul 2009 18:43:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188141#M26659</guid>
      <dc:creator>john weed</dc:creator>
      <dc:date>2009-07-19T18:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Multicast UDP Packets Using C and Systems Services</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188142#M26660</link>
      <description>&lt;BR /&gt;You know, as it occurs to me, even that example (E-10) in the manual is overkill for what I'm trying to understand. Just a simple (like me) client-style socket to read multicast UDP, OpenVMS 7.3-2, IPv4 and TCPIP V5.3/4. &lt;BR /&gt;&lt;BR /&gt;Section 2.10 of the "HP TCP/IP Services for&lt;BR /&gt;OpenVMS" document is what I'm trying to get working with system services.&lt;BR /&gt;&lt;BR /&gt;Wish I could start this thread all over.</description>
      <pubDate>Sun, 19 Jul 2009 20:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188142#M26660</guid>
      <dc:creator>john weed</dc:creator>
      <dc:date>2009-07-19T20:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Multicast UDP Packets Using C and Systems Services</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188143#M26661</link>
      <description>I'm not able to provide enough information to make the conversation/thread useful.</description>
      <pubDate>Sun, 19 Jul 2009 20:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reading-multicast-udp-packets-using-c-and-systems-services/m-p/5188143#M26661</guid>
      <dc:creator>john weed</dc:creator>
      <dc:date>2009-07-19T20:53:29Z</dc:date>
    </item>
  </channel>
</rss>

