Xiong Wang
Xiong Wang
```cs socket.OnDisconnected+= Socket_OnDisconnected; ... private void Socket_OnDisconnected(object sender, string e) { Console.WriteLine("reason: " + e); } ```
You need to remove the reference from NuGet first, then clone this repo and add SocketIOClient.csproj to your project. You can use Debug or other https://github.com/doghappy/socket.io-client-csharp/blob/3149107ddd512a8fa68d3f15b80bdf4330910a37/src/SocketIOClient/Transport/TransportRouter.cs#L188 Of course, you can...
It looks like an error occurred when connecting to the websocket server. Can you use fiddler to monitor the response of the websocket?
Please show stack info
Is there a line of code missing? ```cs void Start() { var client = new SocketIO("http://localhost:3000/"); client.On("connection", socket => { Debug.Log("test"); }); await client.ConnectAsync(); // ^^^^^^^^^^^^^^^ } ```
Hi, can you describe in detail?
This is my test code: **server** ```js socket.on('hi', (msg) => { socket.emit('hi', "V3: " + msg); }); ``` **client** ```cs socket.On("hi", response => { Console.WriteLine($"server: {response.GetValue()}"); }); ... await socket.EmitAsync("hi",...
Has this issue been resolved?
Can you create a reproducible repo? Thank u
Please show your SocketIOOptions and socket.io server version