code: def client_program():
      host = socket.gethostname()  # as both code is running on same pc
      port = 5000  # socket server port number
  
      client_socket = socket.socket()  # instantiate
      client_socket.connect((host, port))  # connect to the server
  
      message = input(" -> ")  # take input
  
      while message.lower().strip() != "bye":
          client_socket.send(message.encode())  # send message
          data = client_socket.recv(1024).decode()  # receive response
  
          print("Received from server: " + data)  # show in terminal
  
          message = input(" -> ")  # again take input
  
      client_socket.close()
  
label_desc: Use image node_id 1 for calling a global function with example usage: client_program() without return types