[英]Solution to use Websocket on .Net CF 3.5
I am developing DDP client application for embedded Windows CE, Which has .Net compact framework 3.5. 我正在开发具有.Net紧凑框架3.5的嵌入式Windows CE的DDP客户端应用程序。 DDP has developed on top of Websocket, I can't find the solution/dll that supports websocket for .Net CF 3.5.
DDP是在Websocket之上开发的,我找不到支持.net CF 3.5的websocket的解决方案/ dll。
Looking for websocket library that supports .Net compact framework or any work around to this problem. 寻找支持.Net紧凑框架的websocket库或解决此问题的任何方法。
You can use: Noemax.WebSockets 您可以使用:Noemax.WebSockets
This package pulls in all the assemblies required for creating servers and clients running on .NET Framework (server-side & client-side), .NET Compact Framework (server-side & client-side) , Xamarin.iOS (server-side & client-side), Xamarin.Android (server-side & client-side), Windows Phone (client-side), Silverlight (client-side) and Mono (server-side & client-side).
此软件包提取创建在.NET Framework(服务器端和客户端) 、. NET Compact Framework(服务器端和客户端) ,Xamarin.iOS(服务器端和客户端)上运行的服务器和客户端所需的所有程序集。客户端),Xamarin.Android(服务器端和客户端),Windows Phone(客户端),Silverlight(客户端)和Mono(服务器端和客户端)。
See here more datails: https://www.noemax.com/powerwebsockets/ 看到这里更多数据: https ://www.noemax.com/powerwebsockets/
static void Main(string[] args)
{
var client = new WebSocketClient<WebSocketMessagingService>("ws://localhost:8080");
client.Open();
Console.WriteLine(client.Request<string>("Hello", "Hello there !!!"));
Console.WriteLine(client.Request<string>("GoodBye"));
Console.Read();
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.