开发者

Retrieving IP address from HINTERNET handle

开发者 https://www.devze.com 2023-03-11 21:24 出处:网络
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 retrie

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!

0

精彩评论

暂无评论...
验证码 换一张
取 消