Working with simpolserver.exe
The simpolserver.exe
program is designed to run without any user
interface. It takes a single argument on the command line, which is the name of the
configuration file from which it should read the information it needs to run: which port
number(s) to listen on, the name of the log file to create, the name(s) of the database files
that should be shared and the parameters for each of them. If it is started without any
parameters it will search for the file simpolserverinfo.cfg
in the same
directory from where the exe file was started. If it hits an error starting up it will output
that information as a return value to the console and if it got far enough there may be some
information in the log file.
It can also be run using the simpolserver.smp
file, in which case it
should definitely be run by passing the configuration file name to it as a parameter. This is
the program to use when running on Linux.
When running this program, there is a companion program that can provide the
user-interface for the server. That program is delivered as
simpolserverclient.exe
. It is currently only available for Windows. It
will present a user-interface that looks more or less identical to that of the
guisimpolserver.exe
program, but it acts only as a front-end to the
server version. It can also start and stop the sharing of tables, as well as perform a
reorganize, back up, restore and can view the log. The
simpolserverclient.exe
takes a single parameter, which is the TCP/IP
port where the server is listening. If no parameter is provided, it will search the directory
where the exe file was located when it started for a file called
simpolserverinfo.cfg
and if it finds it will read the TCP/IP port
value from there.