Re: Socket ICMP V6 error

2015-01-22 Thread Alain Ketterlin
ermanolillo writes: > HOST is send by the keyboard. It´s the IPv6 address of my interface eth0. > For example, FE80::0202:B3FF:FE1E:8329. This is a link-local address, you can't use it just like that (you may have several interfaces with the same link-local addr). Use getaddrinfo on "FE80...%et

Re: Socket ICMP V6 error

2015-01-22 Thread Chris Angelico
On Fri, Jan 23, 2015 at 2:24 AM, ermanolillo wrote: > HOST is send by the keyboard. It´s the IPv6 address of my interface eth0. > For example, FE80::0202:B3FF:FE1E:8329. I can't duplicate the problem. Are you certain that this is indeed an appropriate address? ChrisA -- https://mail.python.org

Re: Socket ICMP V6 error

2015-01-22 Thread ermanolillo
HOST is send by the keyboard. It´s the IPv6 address of my interface eth0. For example, FE80::0202:B3FF:FE1E:8329. Thanks -- View this message in context: http://python.6.x6.nabble.com/Socket-ICMP-V6-error-tp5083962p5083982.html Sent from the Python - python-list mailing list archive at

Re: Socket ICMP V6 error

2015-01-22 Thread Chris Angelico
On Thu, Jan 22, 2015 at 7:00 PM, ermanolillo wrote: > s = socket.socket(socket.AF_INET6, socket.SOCK_RAW, socket.IPPROTO_ICMPV6) > > However I recive the next error: > > > > File "server.py", line 16, in > s.bind((HOST, 0)) > File "/usr/lib/python2.7/socket.py", line 224, in meth > return getattr

Socket ICMP V6 error

2015-01-22 Thread ermanolillo
File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 22] Invalid argument Could someone please help me?. Thanks in advance -- View this message in context: http://python.6.x6.nabble.com/Socket-ICMP-V6-error-tp5083962.html