title: Why the connect failed for ipv6 at python?
body: <p>Why the connect failed for ipv6 ??</p>
  
  <pre><code>   # python
      &gt;&gt;&gt; import socket
      &gt;&gt;&gt; s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
      &gt;&gt;&gt; sa = ('2000::1',2000,0,0)
      &gt;&gt;&gt; s.connect(sa)            
      &gt;&gt;&gt; sa = ('fe80::21b:78ff:fe30:7c6', 2000, 0, 0)  
      &gt;&gt;&gt; s.connect(sa)
      Traceback (most recent call last):
        File "&lt;stdin&gt;", line 1, in ?
        File "&lt;string&gt;", line 1, in connect
      socket.error: (22, 'Invalid argument')
  </code></pre>