diff --git a/idevice/src/lib.rs b/idevice/src/lib.rs index 23affd7..76a3034 100644 --- a/idevice/src/lib.rs +++ b/idevice/src/lib.rs @@ -116,6 +116,10 @@ impl Idevice { } } + pub fn get_socket(self) -> Option> { + self.socket + } + /// Queries the device type /// /// Sends a QueryType request and parses the response