Re: mswsock:Implement 3 functions by calling through SIO_GET_EXTENSION_FUNCTION_POINTER (try 3)

2008-07-08 Thread Alexandre Julliard
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,

Re: mswsock:Implement 3 functions by calling through SIO_GET_EXTENSION_FUNCTION_POINTER

2008-07-06 Thread Jon Griffiths
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

Re: mswsock:Implement 3 functions by calling through SIO_GET_EXTENSION_FUNCTION_POINTER

2008-07-06 Thread Andrey Turkin
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