code: def main():
      
      # Check command line arguments.
      if len(sys.argv) < 2:
          raise RuntimeError('Usage: python3 async_recv.py <json config>')
  
      # Set up logging.
      sip_logging.init_logger(show_thread=True)
  
      # Load SPEAD configuration from JSON file.
      # with open(sys.argv[-1]) as f:
      #     spead_config = json.load(f)
      spead_config = json.loads(sys.argv[1])
  
      # Set up the SPEAD receiver and run it (see method, above).
      receiver = SpeadReceiver(spead_config)
      receiver.run()
docs: Main function for SPEAD receiver module.