From a Command Prompt type:
code:
netsh winsock reset
That will reset the Winsock to it's default state and also remove all 3rd party LSPs (Layered Service Provider). After you've run the command restart Windows and set up your network again.
If you're still on SP1 or older you can download
WinSock XP Fix which will do the same thing.