我正在自己的腾讯云和华为云服务器上做通信测试,使用的是linux raw socket,但当我的华为云主机向腾讯云主机发送若干(>2w)包后,两台主机突然间无法通信了,不止是socket,ping都不通两台主机和别的网站都可以正常通信,例如ping baidu.com,会有正常的反馈。但互相ping就是100% packet loss
不知道有没有人遇到过类似的问题,请问该如何解决?谢谢!
How to connect/check availability of a wired device without using a ping command ?实际上,我想检查与同一LAN中的有线设备的连接。但是ping命令给了我40%到50%的损失。那么在Linux中有没有其他检查连接的方法呢?
我目前正在使用python2.7,并将需要平窗口和linux。def ping(host): Returns True if host responds to a ping request importsubprocess, platform
# Ping parameters as function