我决定做一个小的应用程序,它可以测量几个大网站的ping时间,这样当我遇到连接问题时就很容易看到了……现在我的问题是,每次程序发送ping请求时,整个程序都会冻结,并且经常崩溃。这是我使用的代码:
long Google = new Ping().Send("google.com").RoundtripTime;
我正在和net 3.5中的ping Librarry一起检查IP的存在。看看下面的代码: { ping.PingCompleted+= new PingCompletedEventHandler(ping_PingCompleted); //here the event handler of ping
Heroku默认堆栈中没有ping命令(使用Ubuntu 20.04)。我已经使用buildpack安装了包'iputils-ping‘,但是它没有显示'command not ping’。我还尝试在构建包的应用程序文件中链接到特定的.deb文件。remote: The following NEW packa