admin管理员组文章数量:1130349
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上使用,
具体参考如下:
- https://github/statianzo/Fleck
- http://vtortola.github.io/WebSocketListener/
- http://superwebsocket.codeplex/
- https://archive.codeplex/?p=websocket4net
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上使用,
具体参考如下:
- https://github/statianzo/Fleck
- http://vtortola.github.io/WebSocketListener/
- http://superwebsocket.codeplex/
- https://archive.codeplex/?p=websocket4net
本文标签: websocketNETServerWindows
版权声明:本文标题:Net 4.5 WebSocket 在 Windows 7, Windows 8 and Server 2012上的比较以及问题 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1727100744a701701.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论