NativeWebSocket icon indicating copy to clipboard operation
NativeWebSocket copied to clipboard

Win7 support?

Open dylanh724 opened this issue 4 years ago • 3 comments

Microsofts flavor of Websocket is known to not work at all on Win7. What about this repo? Win7 support exists?

dylanh724 avatar Jun 20 '20 01:06 dylanh724

Hi @dylanh724, I haven't tested, but you're probably right. This library uses System.Net.WebSockets.ClientWebSocket (docs)

Here's what they say in their docs:

Some of the classes and class elements in the System.Net.WebSockets namespace are supported on Windows 7, Windows Vista SP2, and Windows Server 2008. However, the only public implementations of client and server WebSockets are supported on Windows 8 and Windows Server 2012. The class elements in the System.Net.WebSockets namespace that are supported on Windows 7, Windows Vista SP2, and Windows Server 2008 are abstract class elements. This allows an application developer to inherit and extend these abstract class classes and class elements with an actual implementation of client WebSockets.

endel avatar Jun 22 '20 14:06 endel

Gah D: any easy workaround to allow win7 support? Does this mean colyseus also doesn't support win7 clients?

dylanh724 avatar Jul 03 '20 05:07 dylanh724

Has anyone tried it in Unity 2021? I think netstandard 2.1 websocket possibly works on win7.

kamyker avatar Jun 05 '22 01:06 kamyker