This error is has been associated with a failed windows update. Mine updated yesterday so it’s possible, the best thing to try is a System Restore to sometime prior to the error and then see if windows updates correctly but first it might be worth trying
Click on Search (Magnifying glass next to Windows start icon) enter cmd right click and choose Run as Administrator type: “netsh” then type: “winsock reset” you will then be asked to restart your computer
If these does not work it could require editing the system registry