slight winsock design change proposal

Dmitry Timoshkov dmitry at codeweavers.com
Thu Mar 6 10:24:55 CST 2008


"Christopher Harvey" <arbuckle911 at gmail.com> 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 know it has been.
>> --Juan
>>
>>   
> 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.

It would really help to at least name those "some functions", or even
better to provide a test case.

-- 
Dmitry.



More information about the wine-devel mailing list