Dested Dested - 1 year ago 130
C# Question

Communicating with a server via c#

Is there a c# client that follows the protocol? I have a server that is communicating with a javascript client via a website, but i also need to connect a c# piece to it that can send and receive messages. Is there a clean way to do this currently or will I have to write my own client.

Answer Source

There is a project on codeplex ( NuGet as well ) that is a C# client for (I am the author of this project - so I'm biased) I couldn't find exactly what I needed in a client, so I built it and released it back into the open.

Example client style:

socket.On("news", (data) =>    {