loading
 
Distribution Client check if connected?
Spencer from United States  [2 posts]
10 year
I want to bypass a certain script if the distribution client isn't connected to the server. Is there a way I can check if the distribution client is connected in code?
Steven Gentner from United States  [1446 posts] 10 year
Spencer,

We added a

DISTRIBUTOR_CLIENT_CONNECTED

variable that will be 1 when connected and zero or not present when not connected. Likewise on the server side we added

DISTRIBUTOR_SERVER_CONNECTIONS

to indicate the number of connected clients.

If you check the DISTRIBUTOR_CLIENT_CONNECTED variable to be 1 using an If_Statement module in the pipeline you can avoid executing certain code if it is not connected.

This is in the latest version, so you'll need to update your copy before seeing this change.

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index