Browse
 
Tools
Rss Categories

LV_SRE_IsServerAvailable

Reference Number: AA-00707 Views: 1417 0 Rating/ Voters

Check if any of the listed ASR servers (either set in client_property.conf or as set for PROP_EX_SRE_SERVERS) are reachable on the specified ports.

Function

  • int LV_SRE_IsServerAvailable(void)

Return Values

  1

Indicates that at least one of the listed servers are reachable.

  0

Indicates that none of the listed servers are reachable.

LV_EXCEPTION

An exception occurred while processing the request.

Remarks

This function should not be thought of as a test for network connectivity. The call could fail even if your networks are fine. It only tells you whether or not a communication channel has been established between the client application and the ASR server. When the client is configured to use multiple ASR servers, the function succeeds even if just one of those servers are reachable.

See Also