(on-list this time, thanks Gmail) On Sun, Sep 20, 2015 at 2:17 AM Henri Verbeet <hverbeet(a)gmail.com> wrote:
On 19 September 2015 at 23:53, Christopher Harrington <ironiridis+winehq(a)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