# Utility Functions

The functions described in this section are not related to a specific data type.

Function | Description
--- | ---
`tibems_Close` | Deallocate memory used by the EMS internal global data structures.
`tibems_GetAllowCloseInCallback` | Get whether the client application is allowed to call close or stop functions inside message listener callbacks.
`tibems_GetConnectAttemptCount` | Return the connection attempts limit.
`tibems_GetConnectAttemptDelay` | Return the connection delay.
`tibems_GetConnectAttemptTimeout` | Return the connection timeout.
`tibems_GetExceptionOnFTEvents` | Detect whether exception listener is called on any of the following fault-tolerant events: disconnected, each reconnect attempt, reconnected.
`tibems_GetExceptionOnFTSwitch` | Detect whether exception listener is called on a fault-tolerant switchover.
`tibems_GetMulticastDaemon` | Get the port of the multicast daemon that this application connects to.
`tibems_GetMulticastEnabled` | Get whether message consumers subscribed to multicast-enabled topics in EMS client applications can receive messages over multicast.
`tibems_GetReconnectAttemptCount` | Return the reconnection attempts limit.
`tibems_GetReconnectAttemptDelay` | Return the reconnection delay.
`tibems_GetReconnectAttemptTimeout` | Return the reconnection timeout.
`tibems_GetSocketReceiveBufferSize` | Return the size of socket receive buffers.
`tibems_GetSocketSendBufferSize` | Return the size of socket send buffers.
`tibems_IsConsumerMulticast` | Check if a consumer can receive messages over multicast.
`tibems_Open` | Allocate global memory for the EMS library.
`tibems_SetAllowCloseInCallback` | Set whether client applications can close sessions or connections, or stop connections, inside message listener callbacks.
`tibems_SetConnectAttemptCount` | Modify the connection attempt limit.
`tibems_SetConnectAttemptDelay` | Modify the connection delay.
`tibems_SetConnectAttemptTimeout` | Modify the connection timeout.
`tibems_SetExceptionOnFTEvents` | Set whether exception listener is called each step of the fault-tolerant switchover process.
`tibems_setExceptionOnFTSwitch` | Set whether exception listener is called on fault-tolerant switchover.
`tibems_SetMulticastDaemon` | Set the port on which the EMS client will connect to the multicast daemon.
`tibems_SetMulticastEnabled` | Set whether message consumers subscribed to multicast-enabled topics in the EMS client application will receive messages over multicast.
`tibems_SetMulticastExceptionListener` | Set the multicast exception listener for an application.
`tibems_SetReconnectAttemptCount` | Modify the reconnection attempts limit.
`tibems_SetReconnectAttemptDelay` | Modify the reconnection delay.
`tibems_SetReconnectAttemptTimeout` | Modify the reconnection timeout.
`tibems_SetSocketReceiveBufferSize` | Set the size of socket receive buffers.
`tibems_SetSocketSendBufferSize` | Set the size of socket send buffers.
`tibems_SetTraceFile` | Start or stop directing client trace information to a file.
`tibems_Sleep` | Sleep thread.
`tibems_Version` | Return the EMS library version number.

Copyright © Cloud Software Group, Inc. All rights reserved.