当我连接Quobject.SocketIoClientDotNet.Client.IO.Socket客户端时,它会连接并立即断开客户端。每一秒它都在重复这个。是什么原因?我怎样才能保持连接?
var socket = IO.Socket("http://127.0.0.1:3000");
socket.On(Quobject.SocketIoClientDotNet.Client.Socket.EVENT_CONNECT, (fn) =>
{
socket.Emit("partInfo");
});