Client not connecting
I have a js socket.io server running on port 3000 and im unable to connect to it. Here is the code im using:
client = new SocketIOClient(new SocketIOClientOption(EngineIOScheme.http, "localhost", 3000));
client.On(SocketIOEvent.CONNECTION, () =>
{
Console.WriteLine("Good");
});
client.Connect();
i have logs in my js code that lets me know when someone is connected. I can see the logs when connecting with a browser, but not with this
Im using socket.io 3.0.0 currently, ill install 2.3 to see if that works
Update: i was able to get the example working perfectly, so ill just use it as a base and copy over my code.
2.4v JS client also works fine
hey i have the very same problem! server in node.js with socket.io version 4.1.2, and I cant get this client-example to connect to it. How did you solve? I hope not by downgrading, since I'm basically using this package because I need a 4.x client in c#
Confirming this works.
Server : C# Client : nodejs client should be 2.4v below (3.1.3 does not work)