Are there any cross-platform (read: Mono-friendly) libraries that offer WebSocket server support and allow for asynchronous IO via a C# 5 async
API?
是否有任何跨平台(读:单机友好)库提供WebSocket服务器支持,并允许通过c# 5异步API进行异步IO ?
SuperSocket.NET seems like the closest option, but does not appear to offer async support.
SuperSocket。NET似乎是最接近的选项,但似乎并没有提供异步支持。
Mono itself does not yet implement System.Net.WebSockets
.
Mono本身还没有实现System.Net.WebSockets。
2 个解决方案
#1
#2
0
You should use SuperWebSocket instead of SuperSocket. Both SuperWebSocket and SuperSocket support async communications. SuperWebSocket is a websocket server base on SuperSocket.
你应该使用SuperWebSocket而不是SuperSocket。SuperWebSocket和SuperSocket都支持异步通信。SuperWebSocket是一个基于SuperSocket的websocket服务器。
#1
#2
0
You should use SuperWebSocket instead of SuperSocket. Both SuperWebSocket and SuperSocket support async communications. SuperWebSocket is a websocket server base on SuperSocket.
你应该使用SuperWebSocket而不是SuperSocket。SuperWebSocket和SuperSocket都支持异步通信。SuperWebSocket是一个基于SuperSocket的websocket服务器。