Retrieving IP address from HINTERNET handle
I am trying to retrieve the IP address given a host name after the DNS resolution. I am using WinHTTP to connect to the said host and I've tried searching everywhere but I can't find a way to retrieve an IP address. I was considering using the WinHttpSetStatusCallback function but I couldn't find开发者_如何转开发 any examples that I could follow. Please help! Thanks!
精彩评论