code: def unix_domain_socket_server(sock_path):
      
      log.debug('serving on %s', sock_path)
      remove_file(sock_path)
  
      server = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
      server.bind(sock_path)
      server.listen(1)
      try:
          yield server
      finally:
          remove_file(sock_path)
docs: Create UNIX-domain socket on specified path.
  
      Listen on it, and delete it after the generated context is over.