On Tue, Sep 3, 2013 at 3:16 PM, Bruno Jesus <00cp...@gmail.com> wrote: > On Tue, Sep 3, 2013 at 3:04 PM, Alexandre Julliard <julli...@winehq.org> > wrote: >> Bruno Jesus <00cp...@gmail.com> writes: >> >>> try 2: >>> Narrow the loop for the specified protocol >>> Add a new test for invalid sockets >> >> Considering what WSAEnumProtocols does, the loop doesn't seem necessary >> at all. > > It will when WSAEnumProtocols return AF_INET6 data =)
Will you find more reasonable to "unstatic" WINSOCK_EnterSingleProtocolW from protocol.c, add a family parameter to it and use it inside socket.c ? http://source.winehq.org/source/dlls/ws2_32/protocol.c#L85 >> -- >> Alexandre Julliard >> julli...@winehq.org Bruno