to reset your winsock just open a command window and type
netsh w r
to reset all your tcp/ip settings open a command window and type
netsh i i r reset.txt
Note, you may need to boot to safe mode or login as admin to do configuration changes like these