Receive

This type is a callback to an application that receives data from an Intel AMT platform via an application-designated socket. The library invokes this callback after an application calls IMR_ReadyReadSock. The function returns a 0 for success and 1 for a failure.

typedef int (*Receive)(unsigned char* buffer, unsigned int*length, unsigned int connID)

 

Parameter

Input/Output

Description

buffer

Input

Pointer to the buffer returned by the function.

length

Input/Output

As an input, it indicates the buffer size; as an output, it indicates the number of bytes that were received.

connID

Input

A handle used to identify the specific connection

Copyright © 2006-2022, Intel Corporation. All rights reserved.