mozilla

Revision 352725 of Writing a WebSocket server in C#

  • Revision slug: WebSockets/Writing_WebSocket_server
  • Revision title: Writing WebSocket server
  • Revision id: 352725
  • Created:
  • Creator: lumia
  • Is current revision? No
  • Comment

Revision Content

Introduction

If you want to use the WebSocket API, it is useful if you have a server. :-) In this article I will show you how to write one in C#.

In lots of server side programming language you can do it, but to keep things simple and more understandable, I chose Microsoft's language.

This server gives which is required by RFC 6455 so it will only handle connections from Chrome version 16, Firefox 11, IE 10 and over.

 

Revision Source

<h2>Introduction</h2>
<p>If you want to use the WebSocket API, it is useful if you have a server. :-) In this article I will show you how to write one in C#.</p>
<div class="note">
  <p>In lots of server side programming language you can do it, but to keep things simple and more understandable, I chose Microsoft's language.</p>
</div>
<p>This server gives which is required by <a href="http://tools.ietf.org/html/rfc6455" title="http://tools.ietf.org/html/rfc6455">RFC 6455</a> so it will only handle connections from Chrome version 16, Firefox 11, IE 10 and over.</p>
<h2>&nbsp;</h2>
Revert to this revision