def client_handler()

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


def client_handler(args):
    # creat socket tream to the Nitro Enclave
    client = VsockStream()
    endpoint = (args.cid, args.port)
    print("Endpoint Arguments ", str(args.cid), str(args.port))
    client.connect(endpoint)
    # Send provided query and handle the response
    client.send_data(args.query)