Set up a connection to the given device.
- Parameters
-
| device | The device to connect to. |
| port | The destination port to connect to. |
| connection | Pointer to an idevice_connection_t that will be filled with the necessary data of the connection. |
- Returns
- IDEVICE_E_SUCCESS if ok, otherwise an error code.