SetConnectInfo method

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

Syntax
return_code SetConnectInfo(
    const char * streamName,
    const char * streamParams
);
Parameters
  • 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.

Returns

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

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