Is there a WebSocket client implemented for .NET?

Viewed 53187

I would like to use WebSockets in my Windows Forms or WPF-application. Is there a .NET-control that is supporting WebSockets implemented yet? Or is there any open source project started about it?

An open source solution for a Java Client supporting WebSockets could also help me.

11 Answers

it's a pretty simple protocol. there's a java implementation here that shouldn't be too difficult to translate into c#. if i get around to doing it, i'll post it up here...

Recently the Interoperability Bridges and Labs Center released a prototype implementation (in managed code) of two drafts of the WebSockets protocol specification:

draft-hixie-thewebsocketprotocol-75 and draft-hixie-thewebsocketprotocol-76

The prototype can be found at HTML5 Labs. I put in this blog post all the information I found (until now) and snippets of code about how this can be done using WCF.

Related