libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ debugserver_client_receive()

debugserver_error_t debugserver_client_receive ( debugserver_client_t  client,
char *  data,
uint32_t  size,
uint32_t *  received 
)

Receives raw data from the debugserver service.

Parameters
clientThe debugserver client
dataBuffer that will be filled with the data received
sizeNumber of bytes to receive
receivedNumber of bytes received (can be NULL to ignore)
Note
The default read timeout is 10 seconds.
Returns
DEBUGSERVER_E_SUCCESS on success, DEBUGSERVER_E_INVALID_ARG when client or plist is NULL