Initiate Broker Connection Flow¶
To initiate the broker connection with the Broker Client API example, set up your **login_info.txt**
file and then
call broker_client_example.exe
using login_info.txt
as an argument.
-
Open login_info.txt in a text editor.
-
Add the following information, in this order, separated by spaces:
- The FQDN of the host server
- The server domain
- The User name
- The User password
- The Host name
-
Save the text file.
-
Open Command-line and run the following command:
The Broker Client API example will display a status message similar to the one shown below:broker_client_example -i login_info.txt
Connected Successfully.
Desktop ID : sal-w7p64-sa15.autolab.local
ip_addr : 10.64.60.147
port : 4172
connect_tag:
SCS1fw0Zbk+Eu7q2iz0/M7mxfEE52au/3Jedtgp16L/rA8iB00+Er+YJd0yIL0xd9M
v5V0CDLSDmUNkOCwyyV1+u3w1aA7hXxEWmzhAA
session_id : 2305843009213693954
sni : SAL-W7P64-SA15
URI: "teradici-pcoip://10.64.60.147:4172?sessionid=
2305843009213693954&sni=SAL-W7P64-SA15", PARAMETERS: "connect-tag=SCS1fw0Zbk%2bEu7q2iz0%2fM7mxfEE52au%2f3Jedtgp16L%2frA8iB00%2bE
r%2bYJd0yIL0xd9Mv5V0CDLSDmUNkOCwyyV1%2bu3w1aA7hXxEWmzhAA"
Launching the Session Client from Broker Client API Example¶
Use the -l
switch (lowercase L, for launch) to have the Broker Client API example invoke the
session client. This allows for invoking the Session Client API without worrying
about the 60-second connect tag window.
-
Open a command prompt and change directory to
bin
. -
Run the command line client, providing the
login_info.txt
file as an argument:broker_client_example -i login_info.txt -l