code: def receive(socket, num_bytes=20):
      """Receive data frame from open socket.
  
      :param socket: open socket instance
      :param num_bytes: number of bytes to read
  
      :return: received data
      """
      length = int(_receive_all(socket, num_bytes).decode())
      serialized_data = _receive_all(socket, length)
      return pickle.loads(serialized_data)
  
imports: import pickle
  from socket import gethostbyname, gethostname
  import os
label_desc: Use image node_id 3 for calling a global function with example usage: receive(socket, num_bytes) and returns: pickle