ULC-packaged images support the following command-line parameters. These parameters are not case-sensitive:
A useful complementary VisualAge parameter is -lFileName, which redirects output to TTY (the default output for ULC debugging) to the file specified. -lCON outputs to the console.
Examples
MyImage.exe -server 4444
The application server waits for connections on port number 4444. This configuration allows access to all applications included in the image. To have a UI Engine connect to this server, the command line would read:
UlcUI.exe -url ulc://localhost:4444/myBeautifulApp
MyImage.exe -server 4444 -appName MyBeautifulApp
The application server waits for connections on port number 4444 and restricts access to the application named MyBeautifulApp. This is useful only if the server image includes another application (for example, MyUglyApp).
The UI Engine command lines might read:
UlcUI.exe -url ulc://localhost:4444/myBeautifulApp result: the MyBeautifulApp starts up UlcUI.exe -url ulc://localhost:4445/myBeautifulApp result: nothing happens, because the port is wrong UlcUI.exe -url ulc://localhost:4444/myUglyApp result: nothing happens, because access to MyUglyApp has been refused