node使用socket断开后延迟发送的问题解决

来源:互联网 发布:华为大数据营销策略 编辑:程序博客网 时间:2024/05/01 21:29
提示报错:Error: This socket has been ended by the other party

解决方法

socket = io.connect('http://localhost:3000',{'force new connection': true});
阅读全文
0 0