On Mon, May 20, 2013 at 7:53 PM, Dmitry Timoshkov <dmi...@baikal.ru> wrote: > > I'd test it like the following: > > 1. create a socket > 2. check that WSAIoctl works > 3. call WSAAsyncSelect/WSAEventSelect > 4. check that WSAIoctl fails > 5. set the socket back to blocking mode using described technique > 6. check that WSAIoctl works > > of course checking for exact error codes and such.
Ok, will send a test patch, thanks for advice! -- Regards, Qian Hong - http://www.codeweavers.com