Blocking communication using Winsock is a fairly simple procedure. You can create a Winsock block any point that you insert Winsock into the communication stream.
To block Winsock then you would simply remove your block in the stream and communication would continue as before.
There are other programs and applications that perform this task as well and so you will need to ask yourself whether or not Winsock is the correct tool to use in this certain situation. Fortunately Komodia is the greatest Winsock resource on the web.
Chris