A c# implementation of Websocket: Websocket-sharp

If you are finding a websocket library which completely implement Websocket protocol RFC 6455)[1].

I would like to introduce WebsocketSharp. [2]

Performance tips

Although there is no size implementation for websocket, the limitations of websocket implementations are different. The original websocketsharp’s text buffer(initial frame size) is 1016 characters. If you want to increase the suze, please download the source codes and modify FragmentLength in Websocket.cs. [3][4]


  1. IETF, “RFC 6455:Websocket protocol”, URL: https://www.rfc-editor.org/rfc/rfc6455
  2. Websocket-Sharp, URL:http://sta.github.io/websocket-sharp/
  3. “How to disable force Frame continuations in websocket sharp?” URL: https://stackoverflow.com/questions/27414791/how-to-disable-forced-continutation-frames-using-websocket-sharp-in-c-sharp
  4. “Websocketsharp.cs”, URL: https://github.com/sta/websocket-sharp/blob/master/websocket-sharp/WebSocket.cs
This entry was posted in C#, Web Design and tagged . Bookmark the permalink.

Leave a Reply

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