Winsock 2

Christopher Harrington ironiridis+winehq at gmail.com
Sun Sep 20 02:44:44 CDT 2015


(on-list this time, thanks Gmail)

On Sun, Sep 20, 2015 at 2:17 AM Henri Verbeet <hverbeet at gmail.com> wrote:

> On 19 September 2015 at 23:53, Christopher Harrington
> <ironiridis+winehq at gmail.com> wrote:
> > I'm looking at trying to implement some of the Winsock 2 stubs, namely
> > WSALookupServiceBegin/Next/End. I'm probably only going to implement
> enough
> > of it that my target binary will stop bailing out with "out of memory". I
> > suspect the app is using it to resolve DNS...
> >
> > Am I stepping on anyone's toes? If not, can someone point me at the right
> > place to look for where wine is currently doing DNS lookups so I can
> reuse
> > that non-broken code?
> >
> I think we'd welcome the help. We do lookups in for example
> resolve_hostname() in dlls/winhttp, but it's probably a good idea to
> learn how getaddrinfo() works in general.
>

Sure, I just don't want to duplicate code/effort if there's already
functional and tested code living elsewhere in the tree. Writing my own
from scratch, even if I'm proficient in the API, is bound to be less
bug-resilient.

Thank you for the pointer.

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20150920/c4e989df/attachment.html>


More information about the wine-devel mailing list