RFC: Winsock todo's
Michael Stefaniuc
mstefani at redhat.de
Tue Sep 24 15:25:51 CDT 2002
On Tue, Sep 24, 2002 at 11:18:14AM +0200, Martin Wilck wrote:
> Am Die, 2002-09-24 um 10.55 schrieb Martin Wilck:
>
> I forgot one:
>
> There are planse to convert the HANDLE type to void* throughout wine.
> http://bugs.winehq.com/long_list.cgi?buglist=90
Yes, i'm slowly working on that. HANDLE will be the last one to be
changed and i hope to have it finished at the end of the year.
> If this happens, Winsock needs to be adapted, too. Under Windows, SOCKET
> is an int type and HANDLE is void*, nevertheless it is legal to pass
> SOCKETs to functions such as WriteFile() expecting HANDLERs.
>
> I am uncertain how to do The Right Thing (tm) for Winsock here.
Simple, just cast it to HANDLE. I suspect this what you need to do on
Windows too, especialy when using C++.
bye
michael
--
Michael Stefaniuc Tel.: +49-711-96437-199
System Administration Fax.: +49-711-96437-111
Red Hat GmbH Email: mstefani at redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20020924/44c99569/attachment.pgp
More information about the wine-devel
mailing list