Socket problem under Windows


After reinstalling my windows i noticed all the programs using
sockets(even local simple server-client programs) stopped
working. I have granted all firewall access rights, but nothing. In
FreeRIDE, the process terminates immediately after i start it but the
cmd window stays blank.
After some tracking, i noticed that the program locks up when i read
from the socket, not when i create and connect.All my programs work
well under linux.
Can anyone give me any help regarding this issue.