Registered procedure notifications

The CS_ASYNC_NOTIFS connection property controls how a Client-Library application receives registered procedure notifications from an Open Server application.

Currently, the Open Server application sends a notification to the client as one or more Tabular Data Stream (TDS) packets. However, the client application does not learn of the notification until Client-Library reads the notification packets from the connection and invokes the application’s notification callback.

You must set CS_ASYNC_NOTIFS to CS_TRUE for ct_poll to trigger the application’s notification callback on a connection that is otherwise idle. In other words, unless your application is actively sending commands and reading results on the connection, your application does not receive notifications when CS_ASYNC_NOTIFS is CS_FALSE (the default).