The protocol involves broadcasting a message over the local LAN, which strangely isn't working on one of the two machines I'm using to test my code. The strange part is that it's as mentioned working on one machine, whereas not on the other. I've used wireshark to monitor outgoing packets, and the packets isn't being sent on the failing machine, even though that sendto() is returning the correct amount of bytes. The only difference between the machines is that one (the failing one) is using win10 and the other win8.Method 10: Import Winsock keys from a working computer.
Win 10 Winsock Fix Windows 10 Settings App
Disable-NetAdapter -name “name” – this will disable a network adapter, replacing “name” with the name of your chosen adapter (found using Get-NetAdapter). Get-NetAdapter – this will show a list of available network adapters on your device. Clear-DnsClientCache – this will reset your current DNS cache. There are several network commands that can be launched in a PowerShell window to fix or reset your network devices and settings. Hope Your Windows 10 Settings app crash is fixed, if not try below methods.
...This will ensure that the information or action you’ve requested (such as disabling a network adapter or resetting your DNS cache) is performed. This is a similar, last-resort option to the Windows Settings method listed for resetting your network configuration shown above, and will require a PC restart afterwards.To run any of these commands, type them into the PowerShell window and hit enter.