日期:2014-05-17 浏览次数:20984 次
bool responsecontinue = false; do { try { response = (HttpWebResponse)request.GetResponse(); responsecontinue = false; } catch { connectadsl.Adsl(true, true);//重新拨号更换IP,但拨号之后request一直超时,无法再正常获取数据,但IE却能正常打开 responsecontinue = true; } } while (responsecontinue);