The Server package provides the basic server-side
functionality for client/server communication during
parallel execution. It is inherited by
ReXServer.pm and JobServer.pm.
new([arguments])
creates a new Server object. If arguments are given they are passed on to the parent class SimData.pm.
(port,id,pid) = run(baseport[,presetid])
starts the server as a separate process and returns the assigned TCP/IP port, internal ID, and process ID. It is expected that the caller uses the process ID to wait for the server to finish. An address given as baseport argument can be used to set the beginning of the TCP/IP port range used for the server.