[PATCH] ws2_32: Automatically sets a socket to non-blocking mode when WSAAsyncSelect or WSAEventSelect is called.

Qian Hong qhong at codeweavers.com
Mon May 20 06:59:30 CDT 2013


On Mon, May 20, 2013 at 7:53 PM, Dmitry Timoshkov <dmitry at 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



More information about the wine-devel mailing list