def send_data()

in resources/code/my-first-enclave/secure-local-channel/client.py [0:0]


    def send_data(self, data):
        # Send data to the remote endpoint
        print(str(self.sock))
        # encode data before sending
        self.sock.send(data.encode())
        print("Data Sent ", data)
        # receiving responce back
        data =  self.sock.recv(1024).decode()  # receive response
        print('Received from server: ' + data)  # show in terminal
        self.sock.close()