开发者

Webrequest.BeginGetResponse is slow - alternative to verifying destination exists before getting blocked on Async call?

开发者 https://www.devze.com 2022-12-16 08:36 出处:网络
I\'m having this situation:webrequest.begingetresponse is taki开发者_StackOverflow中文版ng too much time when the url is invalid

I'm having this situation: webrequest.begingetresponse is taki开发者_StackOverflow中文版ng too much time when the url is invalid

However I notice that the PING command doesn't take the same amount of time. Anyone know the equivalent .net call that ping is making?


Doh(!) System.Net.NetworkInformation.Ping()

0

精彩评论

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