0

I am developing DDP client application for embedded Windows CE, Which has .Net compact framework 3.5. DDP has developed on top of Websocket, I can't find the solution/dll that supports websocket for .Net CF 3.5.

Looking for websocket library that supports .Net compact framework or any work around to this problem.

  • Are you looking for WebSocket client libraries? There are open source ones which you can manually port to .NET CF on your own, but generally speaking CF is quite a limited platform so you should check if any commercial libraries are available. – Lex Li May 29 '16 at 01:42
  • First of all Thanks for your reply Lex. Yes, I am looking for WebSocket libraries can run on .Net compact framework. I have also tried to search for code that helps me develope Websocket on top of TCPSocket. But no luck. – Tejas Suthar Jun 06 '16 at 11:07
  • Any update on this? – Adam Wilson Nov 15 '17 at 10:09

1 Answers1

0

You can use: 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).

See here more datails: https://www.noemax.com/powerwebsockets/

enter image description here

   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();
   }
lda573
  • 88
  • 8