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.
Source files
None.
Running the example
All configurations in this example can be accessed by invoking the process
monitor, as follows.
Unix
% cd <root_of_GC>
% ./contrib/MITRE/tools/bin/process_monitor contrib/MITRE/examples/many_conns/double.config
Windows
C:\> set GC_HOME=<root_of_GC>
C:\> python %GC_HOME%\contrib\MITRE\tools\src\process_monitor\process_monitor.py
%GC_HOME%\contrib\MITRE\examples\many_conns\double.config
In addition, on Unix, we generate the following script.
double.csh: runs the double server and the Hub, using the double.pgm program
file from the double example.
Compilation
Typing "make" in this directory will create the script.
Discussion
See the documentation on setting
maximum number of connections.
Last updated August 8, 2002