|
◆ debugserver_client_set_receive_params()
Sets behavior when awaiting a response from the server.
- See also
- debugserver_client_send_command, debugserver_client_receive_response, debugserver_client_receive
- Parameters
-
client | The debugserver client |
cancel_receive | A function pointer that will be called approximately every receive_loop_timeout milliseconds; the function should return a boolean flag specifying whether to stop waiting for a response. If NULL, behaves as if it always returns true. |
receive_loop_timeout | Time in milliseconds between calls to cancel_receive. |
- Returns
- DEBUGSERVER_E_SUCCESS on success, or an DEBUGSERVER_E_* error code otherwise.
|