This is a discussion on How can i get data using IPv6? - SNMP ; --===============1747005437== Content-Type: multipart/alternative; boundary="----=_Part_242_15409072.1206353821113" ------=_Part_242_15409072.1206353821113 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline To get a data using IPv4, we just set dotted ip address to 'peername' field like below. session.peername = "xx.xx.xx.xx" Detailed example is net-snmp site. http://www.net-snmp.org/wiki/index.php/TUT:Simple_Application If I ...
--===============1747005437==
Content-Type: multipart/alternative;
boundary="----=_Part_242_15409072.1206353821113"
------=_Part_242_15409072.1206353821113
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
To get a data using IPv4,
we just set dotted ip address to 'peername' field like below.
session.peername = "xx.xx.xx.xx"
Detailed example is net-snmp site.
http://www.net-snmp.org/wiki/index.php/TUT:Simple_Application
If I want to use IPv6 address (xx:xx:xx:xx:xx:xx:xx:xx) , how do i set IPv6
address.
'peername' is only for domain or dotted IP address(IPv4). So if i set IPv6
address to 'peername', Unknown host error is happened.
Please tell me how to i get a data using IPv6.
Thank you for reading.
------=_Part_242_15409072.1206353821113
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
To get a data using IPv4,
we just set dotted ip address to 'peername' field like below.
session.peername = "xx.xx.xx.xx"
Detailed example is net-snmp site.
http://www.net-snmp.org/wiki/index.php/TUT:Simple_Application
If I want to use IPv6 address (xx:xx:xx:xx:xx:xx:xx:xx) , how do i set IPv6 address.
'peername' is only for domain or dotted IP address(IPv4). So if i set IPv6 address to 'peername', Unknown host error is happened.
Please tell me how to i get a data using IPv6.
Thank you for reading.
------=_Part_242_15409072.1206353821113--
--===============1747005437==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1747005437==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
--===============1747005437==--