<table><tr><td style="">sitter 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/D16299">View Revision</a></tr></table><br /><div><div><p>Yep, so, by default Windows 10 does no service publication. The only way to make a host discoverable is by manually starting a publication service (which the user could switch to autostart, so it starts automatically on subsequent boots). With that service Windows will advertise itself over ws-discovery. ws-discovery as far as I understand is only solving the finding device problem, not finding a service, nor name resolution (all of which dnssd can do). Iff we were to add ws-discovery support we'd still need to smb-poke found devices to actually determine if they are smb hosts and also obtain a name from smb_* or netbios or something (I am not sure about speed implications of either).</p>

<p>As for actually supporting ws-discovery. I am really not fond of it and would possibly just ignore it given it doesn't work out of the box anyway.</p>

<p>I've eventually gotten gsoap's <a href="https://www.genivia.com/doc/wsdd/html/wsdd_0.html" class="remarkup-link" target="_blank" rel="noreferrer">wsd support</a> to "work" in a sample program by randomly switching sockets *shrug*.</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">soap->master = soap->socket;
soap_wsdd_listen(soap, 5);</pre></div>

<p>But there's more! gsoap's facilities for changing network interfaces are compile-time ipv4-only or ipv6-only ifdef'd which makes for weird scenarios where you want to probe on ethernet and wifi but you can potentially not switch to one or the other because of how gsoap was built (it is as strange as it sounds).</p>

<p>All in all I continue to feel meh about ws-discovery support and think lobbying for a dnssd based solution is way more useful in the long run.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R320 KIO Extras</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16299">https://phabricator.kde.org/D16299</a></div></div><br /><div><strong>To: </strong>sitter, Frameworks, Dolphin<br /><strong>Cc: </strong>bcooksley, ngraham, kde-frameworks-devel, kfm-devel, sourabhboss, feverfew, michaelh, spoorun, navarromorales, firef, andrebarros, bruns, emmanuelp<br /></div>