> Очень Злой (20.01.13 14:16)
http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213(v=vs.85).aspx
An application must call the WSACleanup function for every successful time the WSAStartup function is called. This means, for example, that if an application calls WSAStartup three times, it must call WSACleanup three times. The first two calls to WSACleanup do nothing except decrement an internal counter; the final WSACleanup call for the task does all necessary resource deallocation for the task.