1

C# WebSocket Server with basic Command Interpreter

You can use Fleck to create a WebSocket server in C#. Here‘s a VS2012 solution.

The you can use this jsFiddle to run the client.

To learn the Client Side read this article.

You can even test this on a mobile device here

For running on mobile you need to put you mobile device in the same WiFi network as the server then change the socket address in the client from localhost to whatever IP the server has.

Have fun!

PS: Mobile test requires jsFiddle account.

deCoder

One Comment

  1. Thanks, I was just looking for an easy solution to try them out and here it is.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.