code: def bind_unix_socket(path):
      
  
      assert path
      bindsocket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
      try:
          os.unlink(path)
      except OSError:
          if os.path.exists(path):
              raise
      try:
          bindsocket.bind(path)
      except socket.error:
          logger.error("Couldn't bind socket on %s", path)
          return None
  
      logger.info('Listening on %s', path)
      bindsocket.listen(0)
      return bindsocket
docs: Returns a unix file socket bound on (path).