This is a small utility used to demonstrate various points in configurating servers, proxies, load balancers eg.
Compile it with:
This will produce the binary
demoserver.exe). Run the server with:
The following flags can be used when running the server:
-httpto set the IP address and port to listen to (
-clientuse this if the client identity is stored in a header like
-idthe id/name of the server. If none is gived a random name is selected.