libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ idevice_connection_send()

idevice_error_t idevice_connection_send ( idevice_connection_t  connection,
const char *  data,
uint32_t  len,
uint32_t *  sent_bytes 
)

Send data to a device via the given connection.

Parameters
connectionThe connection to send data over.
dataBuffer with data to send.
lenSize of the buffer to send.
sent_bytesPointer to an uint32_t that will be filled with the number of bytes actually sent.
Returns
IDEVICE_E_SUCCESS if ok, otherwise an error code.