ws2_32: Implement SO_UPDATE_ACCEPT_CONTEXT.

This commit is contained in:
Mike Kaplinskiy 2010-09-27 22:59:58 -04:00 committed by Alexandre Julliard
parent 008c0597c8
commit f138a5724d
1 changed files with 6 additions and 0 deletions

View File

@ -3941,6 +3941,12 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname,
TRACE("Ignoring SO_UPDATE_CONNECT_CONTEXT, since our sockets are normal\n");
return 0;
/* After a AcceptEx call succeeds, the socket can't be used with half of the
* normal winsock functions on windows. We don't have that problem. */
case WS_SO_UPDATE_ACCEPT_CONTEXT:
TRACE("Ignoring SO_UPDATE_ACCEPT_CONTEXT, since our sockets are normal\n");
return 0;
/* SO_OPENTYPE does not require a valid socket handle. */
case WS_SO_OPENTYPE:
if (!optlen || optlen < sizeof(int) || !optval)