The C++ framework for developing highly scalable, high performance servers on Windows platforms.

Example Servers - WebSocket Servers

These examples require the "WebSockets" licensing option of The Server Framework and they require libraries that only ship with that option (see here for licensing options). You can always download the latest version of these examples from here; and although you will need the correct libraries to be able to build them you can look at the code and see how it works and perhaps get ideas from it. Compiled, unicode release, builds of these examples are available on request if you require them for performance analysis of the framework.

  • SimpleTextWebSocketServer - A server which uses both the Hixie76 and HyBi versions of the WebSocket protocol to communicate with clients using UTF-8 text messages.
  • BinaryWebSocketServer - A HyBi server which demonstrates binary messaging, the "large message API" and the "explicit fragmentation API".
  • SecureWebSocketServer - A server which uses both the Hixie76 and HyBi versions of the WebSocket protocol to communicate with clients using UTF-8 text messages over TCP connection secured with SSL.
  • OutboundGatewayServer - A HyBi server which acts as a simple proxy for WebSocket traffic and which forwards the message content on a raw TCP connection to another server for processing
  • AutobahnTestServer - a server built with the correct options to pass the Autobahn WebSocket protocol compliance tests.
  • WebSocketEchoServerTest - A test client that can create either Hixie76 or HyBi WebSocket connections and can generate 1000's of concurrent connections and send data at configurable rates.
  • SecureWebSocketEchoServerTest - - An SSL enabled version of the WebSocketEchoServerTest which also supports testing the "deflate-stream" WebSocket protocol extension.

A full list of all of the example servers available can be found here: Example Servers


Generated on Sun Sep 12 19:06:45 2021 for The Server Framework - v7.4 by doxygen 1.5.3