doghappy / socket.io-client-csharp

socket.io-client implemention for .NET
MIT License
729 stars 125 forks source link

.Net Framework 4.5 Support #258

Open NicoFerreria opened 2 years ago

NicoFerreria commented 2 years ago

I performed the installation through the nuget package manager for a .net Framework 4.5 project, but I don't receive a connection response to a node.js server version 14.17.4 LTS. Is this package still working?

DavidGameDev commented 2 years ago

I have the same Problem. I am using this package in Unity (2021.2.7f1). It does find the localhost server, however there is no communication. Neither the server (NodeJs - v.14.15.0) nor the client (Unity) receives a connect event and nothing happens.

doghappy commented 2 years ago

The target framework for this library is .NET Standard 2.0, which supports .NET Frameowrk 4.6.1+ and Unity 2018.1+

https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support

WaterskiScoring commented 2 years ago

I recently opened an issue for a similar problem where my program was terminating without an exception after attempting to connect to a SocketIO server. https://github.com/doghappy/socket.io-client-csharp/issues/262

The issued turned out to be the version of a dependency, SystemText.Json. When my project include versions 6.0.1 or 6.0.2 it had this problem. I discovered that using version 6.0.0 worked successfully.