Net 4.5 WebSocket 在 Windows 7, Windows 8 and Server 2012上的比较以及问题

版权声明:本文为博主原创文章,博主的辛苦付出希望大家尊重,未经博主允许不得抄袭,转载请标明出处。 https://blog.csdn.net/LongtengGensSupreme/article/details/84029552

Net 4.5 WebSocket 在 Windows 7, Windows 8 and Server 2012上的比较以及问题

Net 4.5 WebSocket在Windows 8, Windows 10, Windows Server 2012可以,但是在Windows 7, 就会报错。

错误1、“一个文件正在被访问,当前无法使用该文件”

错误2、“参数无效”

错误3、throws a PlatformNotSupportedException.

解决方法:

Net 4.5 WebSocket Server 可以运行在 Windows 7,但是Net 4.5的 ClientWebSocket 不支持 Windows 7,

只支持 Windows 8 and Server 2012,

但是可以使用第三方类库来支持Net 4.5 WebSocket 在win7,Windows 7上使用,

具体参考如下:

猜你喜欢

转载自blog.csdn.net/LongtengGensSupreme/article/details/84029552