|
◆ debugserver_client_receive_with_timeout()
Receives raw data using the given debugserver client with specified timeout.
- Parameters
-
client | The debugserver client to use for receiving |
data | Buffer that will be filled with the data received |
size | Number of bytes to receive |
received | Number of bytes received (can be NULL to ignore) |
timeout | Maximum time in milliseconds to wait for data. |
- Returns
- DEBUGSERVER_E_SUCCESS on success, DEBUGSERVER_E_INVALID_ARG when one or more parameters are invalid, DEBUGSERVER_E_MUX_ERROR when a communication error occurs, or DEBUGSERVER_E_UNKNOWN_ERROR when an unspecified error occurs.
|