On Mon, May 20, 2013 at 7:53 PM, Dmitry Timoshkov dmitry@baikal.ru wrote:
I'd test it like the following:
- create a socket
- check that WSAIoctl works
- call WSAAsyncSelect/WSAEventSelect
- check that WSAIoctl fails
- set the socket back to blocking mode using described technique
- 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