Galaxy Communicator Documentation:
Multiple connection server example
In this example, we use the simple double server to illustrate a multiple
connection server. Multiple connections are available in the core, so all
we need is to tell the server to accept multiple connections, using the -maxconns
argument. This example uses the server and program file from the double example.
This example can be found in the distribution in contrib/MITRE/examples/many_conns.
Running the example
All configurations in this example can be accessed by invoking the process
monitor, as follows.
In addition, on Unix, we generate the following script.
% cd <root_of_GC>
% ./contrib/MITRE/tools/bin/process_monitor contrib/MITRE/examples/many_conns/double.config
C:\> set GC_HOME=<root_of_GC>
C:\> python %GC_HOME%\contrib\MITRE\tools\src\process_monitor\process_monitor.py
double.csh: runs the double server and the Hub, using the double.pgm program
file from the double example.
Typing "make" in this directory will create the script.
See the documentation on setting
maximum number of connections.
Last updated August 8, 2002