Start SuperSocket by Configuration

Keywords: Start by Configuration, Configuration, Bootstrap, Windows Service

Why Start Server by Configuration

  1. Avoid hard coding
  2. SuperSocket provides lots of useful configuration options
  3. Take full use of the tools of SuperSocket

How to Start Server by Configuration with Bootstrap

SuperSocket.SocketService.exe, the Running Container provided by SuperSocket

You can install SuperSocket.SocketService.exe as windows service by running it with an extra command line parameter "-i":

SuperSocket.SocketSerrvice.exe -i

The windows service name is defined in configuration file, you can change it as your requirement:

<appSettings>
    <add key="ServiceName" value="SuperSocketService" />
</appSettings>

The service also can be uninstalled by the parameter "-u":

SuperSocket.SocketService.exe -u