简体   繁体   中英

Why SocketIo Client c# using EIO=4 still can't connect to Socket Server v4x

i have some problem with socket io client , thats why i use EIO = 4 still not able to connect Socket server v4x . Or the problem is not with the version . Hope everyone can help me. Thank you so much!

var options = new SocketIOOptions() { Reconnection = true, ReconnectionDelay = 250, EIO = 4};
    socket = new SocketIO(uri, options);
    socket.JsonSerializer = new NewtonsoftJsonSerializer(socket.Options.EIO);
  

    socket.ConnectAsync(); // OnConnected = false 

I tried update new version SocketIoClient and its working ! =)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM