connect#

connect.connect() int#

Cause the client to wait for a connection to the EnSight server.

The client will try to start the server if an auto connection is specified.
The client will wait and listen for a connection from the server. By default it will listen on TCP port 1106. This port number can be modified with the ‘-ports #’ argument to the client and server.
Examples:
# WARNING: following line includes OBSOLETE call (ensight.connect.backend).
ensight.connect.backend()
ensight.connect.machine("localhost")
ensight.connect.executable(".server")
ensight.connect.directory("")
ensight.connect.type("auto")
ensight.connect.connect()
Returns:

zero on success, non-zero on error