0

I am trying to make a program that can use IPv6 in Pysnmp and I already read a lot from google and so on.

And I always found that people use Udp6SocketTransport. but the problem is this class does not work on all platform and I need it so it might work on Windows and Linux.

Can anyone help me?

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343

2 Answers2

0

IPv6 support in pysnmp is fully dependent on its platform support. So if Udp6SocketTransport class works on one platform but does not work on another - chances are the platform lacks IPv6 support.

Could you check that:

>>> import socket
>>> socket.has_ipv6
True
>>> 

?

Pooh
  • 244
  • 1
  • 2
  • Thank you for your answer. But I want info/examples on how to access IPv6 with Pysnmp both on windows and linux. Please do the needful. (Note: Error pysnmp.error.PySnmpError: IPv6 not supported by platform) – user1913520 Mar 19 '13 at 08:21
0

Have you installed IPv6 into your Windows machine? I assume it's a Windows XP.

Ilya Etingof
  • 5,440
  • 1
  • 17
  • 21