libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ service_send()

service_error_t service_send ( service_client_t  client,
const char *  data,
uint32_t  size,
uint32_t *  sent 
)

Sends data using the given service client.

Parameters
clientThe service client to use for sending.
dataData to send
sizeSize of the data to send
sentNumber of bytes sent (can be NULL to ignore)
Returns
SERVICE_E_SUCCESS on success, SERVICE_E_INVALID_ARG when one or more parameters are invalid, or SERVICE_E_UNKNOWN_ERROR when an unspecified error occurs.