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.
This selection of servers demonstrate servers which connect two connections together. The gateway server can act as a proxy, or can process data as it flows from one connection to another, we've also developed gateways which perform protocol translation and which provide secure 'tunnelling' for insecure protocols.
OutboundGatewayServer - The simplest of the gateway servers. A server that listens for connections and then allows the connected client to establish an outbound connection to another server. Once the outbound connection is established data flows between the two connections in the server.
InboundGatewayServer - A gateway server which allows a client to connect and wait for an inbound connection on another port. Once such a connection occurs the gateway routes data from one connection to the other.
BiDirectionalGatewayServer - A gateway server which mixes the functionality of the above to gateways.
A full list of all of the example servers available can be found here: Example Servers