密集操作后网络连接重置
我正在做一个测量项目,我从网络上的众多设备发送和接收数据。发送/接收可以被认为是快速和密集的,因为几乎没有暂停和连续的数据流。然而,每个设备传入/传出的数据都非常小,每个设备只有几个字节。由于某种原因,我的整个以太网连接被重置,我的互联网连接也中断了,并且我也失去了与所有设备的连接。我从未经历过这种情况,想知道哪些常见情况可能会导致这样的重置?
I am doing a measurement project where I send and receive data from numerous devices on my network. The send/receive can be considered fast and intensive, as there is almost no pause and a continuous flow of data. However, the data to/from each device is quite small, on the order of a couple of bytes each. For some reason, I am experiencing a reset of my entire ethernet connection where my internet connection also goes down, and I lose connection to all my devices as well. I have never experienced such a situation and am wondering what are some of the common situations that might lead to resets like this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,事实证明这与我构建线程的方式有关,在该方式中我会连续创建一个新套接字而不丢弃前一个套接字。愚蠢吧?好吧,我修复了代码,以太网不再崩溃。
Actually, it turns out this had to do with the way I constructed my thread, in which I would create a new socket continuously without discarding the previous one. Stupid right? Well I fixed the code and the ethernet no longer crashes.