code: def read_tcp(conn):
      read_size = read_tcp_size(conn, 4)
      if not read_size:
          return
      size = struct.unpack("@I", read_size)[0]
      msg = read_tcp_size(conn, size)
      log_msg("read_tcp", msg)
      return msg
  
imports: import binascii
  import collections
  import hashlib
  import json
  import os
  import shutil
  import socket
  import struct
  import subprocess
  import threading
  import time
  from absl import logging
  from pysc2 import run_configs
  from pysc2.env import sc2_env
  from pysc2.lib import features
  from pysc2.lib import run_parallel
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 8 for calling a global function with example usage: read_tcp(conn) and returns: msg