title: python error : 'module' object has no attribute 'AF_UNIX'
body: <p>this is my python code :</p>
  
  <pre><code>if __name__ == '__main__':  
      import socket  
      sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)  
      sock.connect(('0.0.0.0', 4000))  
      import time  
      time.sleep(2)  
      #sock.send('1')
      print sock.recv(1024)  
      sock.close()  
  </code></pre>
  
  <p>it show :</p>
  
  <pre><code>Traceback (most recent call last):
    File "D:\Program Files\test\test\python\client.py", line 3, in &lt;module&gt;
      sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
  AttributeError: 'module' object has no attribute 'AF_UNIX'
  </code></pre>
  
  <p>what can i do ,</p>
  
  <p>thanks</p>
  
  <p><strong>updated:</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "D:\Program Files\test\test\python\client.py", line 4, in &lt;module&gt;
      sock.connect(('0.0.0.0', 4000))
    File "&lt;string&gt;", line 1, in connect
  socket.error: (10049, "Can't assign requested address")
  </code></pre>