| libimobiledevice 1.4.0 API Documentation - Return to Homepage

debugserver_client_free
debugserver_client_new
debugserver_client_receive
debugserver_client_receive_response
debugserver_client_receive_with_timeout
debugserver_client_send
debugserver_client_send_command
debugserver_client_set_ack_mode
debugserver_client_set_argv
debugserver_client_set_environment_hex_encoded
debugserver_client_set_receive_params
debugserver_client_start_service
debugserver_client_t
debugserver_command_free
debugserver_command_new
debugserver_command_t
debugserver_decode_string
debugserver_encode_string
debugserver_error_t
DEBUGSERVER_SECURE_SERVICE_NAME
DEBUGSERVER_SERVICE_NAME
| ## ◆ debugserver_client_set_receive_params()
LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_set_receive_params | ( | debugserver_client_t | client,
|  | int(* | cancel_receive )(),
|  | int | receive_loop_timeout )
  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.