【发布时间】:2012-08-17 21:30:28
【问题描述】:
我知道 .Net 4.5 的 ClientWebSocket 类在 Windows 7 上不受支持,但是否可以使用 .Net 4.5 API 创建在 Windows 7 上运行的 WebSocket 服务器?
为了让自己更清楚,根据here 和here,看起来即使在 Windows 7 上也应该支持 .Net 4.5 WebSocket 实现的服务器端部分,但运行 HttpListener 并尝试访问它使用开源 WebSocket 实现时出现“不支持 Portocol”错误
【问题讨论】:
-
虽然这是一个有趣的问题,但并不费力。你试过什么?根据 MSDN,确实只支持 Windows 8 和 Server 2012。您需要 .NET 内置支持吗?否则有各种第三方库可以满足您的要求。
标签: .net windows-7 websocket .net-4.5