<div dir="ltr"><div class="gmail_quote"><div>(on-list this time, thanks Gmail)</div><div><br></div><div dir="ltr">On Sun, Sep 20, 2015 at 2:17 AM Henri Verbeet <<a href="mailto:hverbeet@gmail.com">hverbeet@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 19 September 2015 at 23:53, Christopher Harrington<br>
<<a href="mailto:ironiridis%2Bwinehq@gmail.com" target="_blank">ironiridis+winehq@gmail.com</a>> wrote:<br>
> I'm looking at trying to implement some of the Winsock 2 stubs, namely<br>
> WSALookupServiceBegin/Next/End. I'm probably only going to implement enough<br>
> of it that my target binary will stop bailing out with "out of memory". I<br>
> suspect the app is using it to resolve DNS...<br>
><br>
> Am I stepping on anyone's toes? If not, can someone point me at the right<br>
> place to look for where wine is currently doing DNS lookups so I can reuse<br>
> that non-broken code?<br>
><br>
I think we'd welcome the help. We do lookups in for example<br>
resolve_hostname() in dlls/winhttp, but it's probably a good idea to<br>
learn how getaddrinfo() works in general.<br></blockquote><div><br></div><div style="font-size:13px;line-height:19.5px">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.</div><div style="font-size:13px;line-height:19.5px"><br></div><div style="font-size:13px;line-height:19.5px">Thank you for the pointer.</div><div style="font-size:13px;line-height:19.5px"><br></div><div><span style="font-size:13px;line-height:19.5px">-Chris</span> </div></div></div>