A new attempt on WSACleanup

Henri Verbeet hverbeet at gmail.com
Wed Sep 9 08:47:50 CDT 2015


On 9 September 2015 at 06:31, Bruno Jesus <00cpxxx at gmail.com> wrote:
> Hi all, a possible way to solve the WSACleanup in the DLL side is to
> retrieve all existing sockets from the current process in a server
> call and then closing then inside winsock. Is it possible to make a
> wine server call that returns variable length data? If yes, can anyone
> show an example?
>
Yes, see the various requests with VARARG() replies. In ws2_32 in
particular there's _get_sock_errors(), although that uses a fixed
buffer. In ntdll there's e.g. server_get_unix_name().



More information about the wine-devel mailing list