Or see below for a more indepth workout:
1) Winsock Problem Determination Procedure
You can determine if you have a winsock problem by doing the following.
Put in the windows XP CD and navigate to the support >Tools folder.
Double click setup and do a Complete install.
Click Start >run >cmd {enter}
Type netdiag /test:winsock /v {enter}
..........................................................................
2)
To Reset the Winsock Registry Entries
Click Start >Run >regedit {enter}
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock and delete it; just below that, see HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2 and delete it
Exit Regedit and reboot.
.......................................................................................
More info here:
http://www.wedoc.com/tcpip.htm