Jon Griffiths <[EMAIL PROTECTED]> writes:
> +BOOL WINAPI AcceptEx(SOCKET listener, SOCKET acceptor, PVOID dest, DWORD
> dest_len,
> + DWORD local_addr_len, DWORD rem_addr_len, LPDWORD
> received,
> + LPOVERLAPPED overlapped)
> {
> -FIXME("(listen=%ld,
Andrey,
Thanks for your comments. I've updated and re-sent the patch, please let me
know if you see any problems with it.
I knocked up a quick test and you are correct, native ws2_32 does not allow a 0
handle in WSIoctl. I'll send a patch for that once this set is commited.
Cheers
Jon
You should mention somewhere (FIXME or TODO or something) what the code
currently rely on socket being not used by WSAIoctl. IIRC Windows won't
let you call WSAIoctl(0, ...)
Correct way would be to retrieve both AcceptEx and GetAcceptExSockaddrs
routine addresses in AcceptEx wrapper and store lp