salome_session Namespace Reference
Module that provides the SalomeSession object that helps to launch a SALOME script session.
More...
Detailed Description
Module that provides the SalomeSession object that helps to launch a SALOME script session.
Function Documentation
def salome_session::getShortHostName |
( |
|
) |
|
gives Hostname without domain extension.
SALOME naming service needs short Hostnames (without domain extension).
HOSTNAME is not allways defined in environment,
socket.gethostname() gives short or complete Hostname, depending on
defined aliases.
def salome_session::searchFreePort |
( |
|
) |
|
Search free port for SALOME session.
Returns first found free port number.