doghappy / socket.io-client-csharp

socket.io-client implemention for .NET
MIT License
721 stars 124 forks source link

socket listing slow on Android #284

Open marrocain opened 2 years ago

marrocain commented 2 years ago

hello, I have an issue is that when I test my app on android it take 10s to receive a socket from the server, when I send a socket to server it's fast. when I test on unity emulator it work fine not like when I test on android. internet speed on my android is 40Mbps. Can you help me please.

ncherra commented 2 years ago

same problem

ZFHung commented 1 year ago

I am unable to send messages using the code on Android, but it works on PC. How can I resolve this? void JoinRoom(string RoomName) { if (!string.IsNullOrEmpty(RoomName)) { var message = new { room = RoomName }; client.EmitAsync("createAndJoinRoom", message); } }