Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » MobiLink - Server-Initiated Synchronization » Setting up server-initiated synchronization » Light weight pollers » Light weight polling API » MLLightPoller class


SetConnectInfo method

Sets up a MobiLink client stream type, and network protocol options.

return_code SetConnectInfo(
    const char * streamName,
    const char * streamParams
  • streamName   The network protocol to use. Acceptable values are: tcpip, http, https, or tls.

  • streamParams   A protocol options string, formatted in a semi-colon delimited list. For a complete list of options, see MobiLink client network protocol options.


One of the codes listed in the return_code enumeration. See return_code enumeration.

poller_ret = poller->SetConnectInfo("http", "host=localhost;port=80;")