Re: slight winsock design change proposal

2008-03-06 Thread Andrey Turkin
Actually the correct way IMHO is to implement AcceptEx/GetAcceptExSockaddrs/TransmitFile in ws2_32.dll, and use WSAIoctl(SIO_GET_EXTENSION_FUNCTION_POINTER) to get function addresses in mswsock.dll. I believe this is that Windows' mswsock.dll do. Christopher Harvey wrote: Dmitry Timoshkov wro

Re: slight winsock design change proposal

2008-03-06 Thread Christopher Harvey
Dmitry Timoshkov wrote: > "Christopher Harvey" <[EMAIL PROTECTED]> wrote: > >> Juan Lang wrote: I'm giving the mswsock.c file some development time. I need to know if the winsock API has been inited. >>> >>> The question is, why do you need to know that? Can't you just

Re: slight winsock design change proposal

2008-03-06 Thread Dmitry Timoshkov
"Christopher Harvey" <[EMAIL PROTECTED]> wrote: > Juan Lang wrote: >>> I'm giving the mswsock.c file some development time. I need to know if >>> the winsock API has been inited. >>> >> >> The question is, why do you need to know that? Can't you just >> initialize it yourself? Then you'll

Re: slight winsock design change proposal

2008-03-06 Thread Juan Lang
> There are some functions that return errors if WSAStartup hasn't been > called. I think wine should do that too, rather than call it for the > application. Perhaps it should, but that should be fixed in ws2_32, not in mswsock. --Juan

Re: slight winsock design change proposal

2008-03-06 Thread Christopher Harvey
Juan Lang wrote: >> I'm giving the mswsock.c file some development time. I need to know if >> the winsock API has been inited. >> > > The question is, why do you need to know that? Can't you just > initialize it yourself? Then you'll know it has been. > --Juan > > There are some functio

Re: slight winsock design change proposal

2008-03-06 Thread Juan Lang
> I'm giving the mswsock.c file some development time. I need to know if > the winsock API has been inited. The question is, why do you need to know that? Can't you just initialize it yourself? Then you'll know it has been. --Juan

Re: slight winsock design change proposal

2008-03-06 Thread Christopher Harvey
James Hawkins wrote: > On Wed, Mar 5, 2008 at 6:28 PM, Christopher Harvey > <[EMAIL PROTECTED]> wrote: > >> I'm giving the mswsock.c file some development time. I need to know if >> the winsock API has been inited. This has already been implemented, but >> I need to get access to the num_start

Re: slight winsock design change proposal

2008-03-05 Thread James Hawkins
On Wed, Mar 5, 2008 at 6:28 PM, Christopher Harvey <[EMAIL PROTECTED]> wrote: > I'm giving the mswsock.c file some development time. I need to know if > the winsock API has been inited. This has already been implemented, but > I need to get access to the num_startup variable from the mswsock.c >