<table><tr><td style="">jeanv added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6730" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Okay, I did it differently:<br />
The android application sends all IPs it can find in the device interfaces, then the desktop application loops on those IPs and tries to open a TCP connection on the current IP on the requested port: if it succeeds before the timeout, that's the IP that will be used to mount with sshfs.</p>
<p>I made changes in both repository though: so how should I upload the diff in that case?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R225 KDE Connect - Android application</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6730" rel="noreferrer">https://phabricator.kde.org/D6730</a></div></div><br /><div><strong>To: </strong>jeanv, KDE Connect<br /><strong>Cc: </strong>sredman, tfella, aboudhar, seebauer, progwolff, MayeulC, menasshock, ach, apol, hkaelberer<br /></div>