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

Example Servers - Simple Servers

These are servers that come with the base server framework release. They consist of a selection of example servers that demonstrate various aspects of The Server Framework.

These examples require the core server framework libraries (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 the examples are available on request if you require them for performance analysis of the framework.

  • EchoServer - The basic echo server example.
  • EchoServerOptions - Various optional performance changes.
  • EchoServerCallback - A server that only derives from the callback interface and not from the base server object.
  • EchoServerEx - A server that uses AcceptEx and therefore requires one less thread than the previous examples.
  • EchoServerMFC - A server that links with MFC libraries.
  • EchoServerOptions - A server that demonstrates a range of performance and configuration options available with The Server Framework.
  • EchoServerReadTimeOut - A server that provides timeouts on read operations.
  • EchoServerTest - A multiple concurrent connection client example that we use to stress test servers.
  • MultiEchoServer - A server that listens on multiple TCP ports.
  • PacketEchoServer - A server that demonstrates implementing a length prefixed packet protocol
  • SimpleProtocolServer - A server that demonstrates implementing a simple, CR-LF terminated, line based protocol
  • ThreadPoolSimpleProtocolServer - A server with a line based protocol that does its work in a separate thread pool.
  • ThreadPoolLargePacketEchoServer - A contrived example which accumulates data packets that are too big for its I/O buffers and then passes them off to a separate thread pool for processing.
  • ServerShutdown - A simple utility application to enable you to cleanly shut down the example servers.

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