<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to PDU</title><link>https://sourceforge.net/p/snmppp/wiki/PDU/</link><description>Recent changes to PDU</description><atom:link href="https://sourceforge.net/p/snmppp/wiki/PDU/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 22 Feb 2013 21:18:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/snmppp/wiki/PDU/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage PDU modified by Stéphane Charette</title><link>https://sourceforge.net/p/snmppp/wiki/PDU/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -8,9 +8,9 @@
 SNMPpp::PDU
 -----------

-The C++ PDU class is a wrapper for the `netsnmp_pdu` structure.  With the class, you can easily add [SNMPpp::OID], or read back the value the server provided in the response.
+The C++ PDU class is a wrapper for the `netsnmp_pdu` structure.  With the class, you can easily add [OID], or read back the value the server provided in the response.

-Note that PDUs don't automatically send themselves to the server.  A PDU is bascially a list of OIDs.  Once you create a request PDU, you must combine a [SNMPpp::SessionHandle] and the PDU in a call such as `SNMPpp::get(...)` to have the SNMP server reply.
+Note that PDUs don't automatically send themselves to the server.  A PDU is basically a list of OIDs.  Once you create a request PDU, you must combine a [SessionHandle] and the PDU in a call such as `SNMPpp::get(...)` to have the SNMP server reply.

 For example:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Charette</dc:creator><pubDate>Fri, 22 Feb 2013 21:18:36 -0000</pubDate><guid>https://sourceforge.net380d22ce20d5d9516df6615a6628b2188ff6dae9</guid></item><item><title>WikiPage PDU modified by Stéphane Charette</title><link>https://sourceforge.net/p/snmppp/wiki/PDU/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Charette</dc:creator><pubDate>Fri, 22 Feb 2013 21:15:11 -0000</pubDate><guid>https://sourceforge.net55c4101948b91566f7d2bdec71537280c8543ee3</guid></item><item><title>WikiPage SNMPpp::PDU modified by Stéphane Charette</title><link>https://sourceforge.net/p/snmppp/wiki/SNMPpp%253A%253APDU/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -8,9 +8,9 @@
 SNMPpp::PDU
 -----------

-The C++ PDU class is a wrapper for the `netsnmp_pdu` structure.  With the class, you can easily add [OIDs](SNMPpp::OID), or read back the value the server provided in the response.
+The C++ PDU class is a wrapper for the `netsnmp_pdu` structure.  With the class, you can easily add [SNMPpp::OID], or read back the value the server provided in the response.

-Note that PDUs don't automatically send themselves to the server.  A PDU is bascially a list of OIDs.  Once you create a request PDU, you must combine a [session handle](SNMPpp::SessionHandle) and the PDU in a call such as `SNMPpp::get(...)` to have the SNMP server reply.
+Note that PDUs don't automatically send themselves to the server.  A PDU is bascially a list of OIDs.  Once you create a request PDU, you must combine a [SNMPpp::SessionHandle] and the PDU in a call such as `SNMPpp::get(...)` to have the SNMP server reply.

 For example:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Charette</dc:creator><pubDate>Mon, 18 Feb 2013 07:51:45 -0000</pubDate><guid>https://sourceforge.net887abebaeebff24565348da56fe3e1febdd24a48</guid></item><item><title>WikiPage SNMPpp::PDU modified by Stéphane Charette</title><link>https://sourceforge.net/p/snmppp/wiki/SNMPpp%253A%253APDU/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -3,7 +3,7 @@

 PDUs contain SNMP requests or responses.  A client application will send a PDU to the SNMP server, and then the server replies with another PDU.

-In a typical GET scenario, a request PDU will contain one or more SNMP OIDs with a `NULL` value.  The SNMP server then sends back a PDU with the appropriate values for each OID.
+In a typical GET scenario, a request PDU will contain one or more SNMP OIDs with a `NULL` value placeholder.  The SNMP server then sends back a PDU filled out with the appropriate values for each OID in the original request.

 SNMPpp::PDU
 -----------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Charette</dc:creator><pubDate>Mon, 18 Feb 2013 07:37:30 -0000</pubDate><guid>https://sourceforge.net26b8d3b632a0dea299b740fd7b96290cd69336c7</guid></item><item><title>WikiPage SNMPpp::PDU modified by Stéphane Charette</title><link>https://sourceforge.net/p/snmppp/wiki/SNMPpp%253A%253APDU/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="pdu"&gt;PDU&lt;/h1&gt;
&lt;p&gt;PDUs contain SNMP requests or responses.  A client application will send a PDU to the SNMP server, and then the server replies with another PDU.&lt;/p&gt;
&lt;p&gt;In a typical GET scenario, a request PDU will contain one or more SNMP OIDs with a &lt;code&gt;NULL&lt;/code&gt; value.  The SNMP server then sends back a PDU with the appropriate values for each OID.&lt;/p&gt;
&lt;h2 id="snmppppdu"&gt;SNMPpp::PDU&lt;/h2&gt;
&lt;p&gt;The C++ PDU class is a wrapper for the &lt;code&gt;netsnmp_pdu&lt;/code&gt; structure.  With the class, you can easily add &lt;a class="" href=""&gt;OIDs&lt;/a&gt;, or read back the value the server provided in the response.&lt;/p&gt;
&lt;p&gt;Note that PDUs don't automatically send themselves to the server.  A PDU is bascially a list of OIDs.  Once you create a request PDU, you must combine a &lt;a class="" href=""&gt;session handle&lt;/a&gt; and the PDU in a call such as &lt;code&gt;SNMPpp::get(...)&lt;/code&gt; to have the SNMP server reply.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;SNMPpp&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="n"&gt;PDU&lt;/span&gt; &lt;span class="n"&gt;pdu&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="n"&gt;SNMPpp&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="n"&gt;PDU&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="n"&gt;kGet&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;pdu&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;addNullVar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;1.3.6.1.2.1.1.1.0&amp;quot;&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;pdu&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;addNullVar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;1.3.6.1.2.1.1.2.0&amp;quot;&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;// this will free up the request PDU and return a new result PDU&lt;/span&gt;
&lt;span class="n"&gt;pdu&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;SNMPpp&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="n"&gt;handle&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;pdu&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Charette</dc:creator><pubDate>Mon, 18 Feb 2013 07:31:47 -0000</pubDate><guid>https://sourceforge.net4ae4e47ff2167b9fb41e516370993b7cd885798e</guid></item></channel></rss>