httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marion & Christophe JAILLET <christophe.jail...@wanadoo.fr>
Subject Re: Using AcceptEx on Windows
Date Wed, 11 Sep 2013 20:52:44 GMT
Some discussion about it can be found at
http://stackoverflow.com/questions/4470645/acceptex-without-wsaioctl

CJ


Le 11/09/2013 12:26, Ivan Zhakov a écrit :
> Hi,
>
> The mpm_winnt uses AcceptEx API call to accept incoming connections.
> But MSDN documentation states [1] that consumer should use WSAIoctl()
> to get pointer to AcceptEx function instead calling it directly:
> [[[
> Note  The function pointer for the AcceptEx function must be obtained
> at run time by making a call to the WSAIoctl function with the
> SIO_GET_EXTENSION_FUNCTION_POINTER opcode specified. The input buffer
> passed to the WSAIoctl function must contain WSAID_ACCEPTEX, a
> globally unique identifier (GUID) whose value identifies the AcceptEx
> extension function. On success, the output returned by the WSAIoctl
> function contains a pointer to the AcceptEx function. The
> WSAID_ACCEPTEX GUID is defined in the Mswsock.h header file.
> ]]]
>
> Is any reason why WSAIoctl() is not used or just mistake and I should
> prepare the patch to fix it?
>
> [1] http://msdn.microsoft.com/en-us/library/windows/desktop/ms737524
>


Mime
View raw message