Module server
source code
This module contains the machinery necessary to run a server. At
present it is an ETC-specific server, but the ETC functionality is
encapsulated in a single method of the QueuManager.
The server will connect to the port specified in the environment
variable PYSYN_PORT. If this variable is not set, it will use the
default_port specified below.
Use the startServer() function to start the server. This is done
automatically if __name__ == '__main__'.
|
|
debug = 1
|
|
|
default_port = 8881
|