code: def sendjson(sock, data):
      """send a python value to remote via json
  
      Parameters
      ----------
      sock : Socket
          The socket
  
      data : object
          Python value to be sent.
      """
      data = json.dumps(data)
      sock.sendall(struct.pack("<i", len(data)))
      sock.sendall(data.encode("utf-8"))
  
file_path: tvm/python/tvm/rpc/base.py
imports: import socket
  import time
  import json
  import errno
  import struct
  import random
  import logging
  from .._ffi.base import py_str
label_desc: Use image node_id 3 for calling a global function with example usage: sendjson(sock, data) without return types