I'm using the remote attestation example that was provided to build my current application. Unfortunately the network transfer between the application and the service provider has not been implemented in the example.
I have noticed that the function calls for retrieving the messages such as "sgx_ra_get_msg1" all work with the predefined structures "ra_samp_request_header_t" and "ra_samp_response_header_t".
I tried to send these structures over the network with boost::asio but have experienced major difficulties to do so, since the storing of the structures is architecture dependent.
What would be a good way to transfer the messages in C++ between the application and the SP?