MobiLink Server-Initiated Synchronization User's Guide
When you run the Listener, by default the listening library lsn_udp.dll is used. If you are using SMTP, you need to specify an SMTP listening library.
You specify the listening library with the dblsn -d option, and specify options for the listening library with the -a option. To enable multi-channel listening, specify multiple dlls by repeating -d. After each -d option, specify the -a and -i options that relate to the dll. For example,
dblsn.exe -d lsn_udp.dll -i 10 -d maac750.dll -i 60
To specify multiple options, repeat -a. For example,
-d maac750.dll -a port=2439 -a ShowSenderPort
To see options for your dll, type dblsn -d filename.dll -a ?.
You can also create a custom Listener library. For more information, see MobiLink Listener SDKs.
Following is a list of supported listening libraries and their options.
| Option | Description |
|---|---|
| Port=port_number | The default is 5001. |
| Timeout=seconds | This value must be smaller than the polling interval of the UDP listening thread. The default is 0. |
| ShowSenderPort | Appends :port to the sender. |
| HideWSAErrorBox | Suppresses the error box showing errors on socket operations. |
| CodePage=number | On CE, translates multi-byte characters into Unicode based on this code page number. |
| Option | Description |
|---|---|
| MessageStoreSize=number | This size affects how the library collapses redundant messages. If the message store is filled, the library stops collapsing identical messages until a message is consumed. The default is 20. |
| NetworkProviderId=name | The matching Carrier(name).network_provider_id. This information is sent up during a device tracking synchronization. This option is needed for device tracking. |
| PhoneNumber=number | A 10-digit telephone number. This information is sent up during a device tracking synchronization. This option is needed for device tracking. |
| Option | Description |
|---|---|
| MessageStoreSize=number | This size affects how the library collapses redundant messages. If the message store is filled, the library stops collapsing identical messages until a message is consumed. The default is 20. |
| PreserveMessage | Specifies that messages should be left in the queue for other SMS applications. The default is for the Listener to consume messages as they are processed. |
| Option | Description |
|---|---|
| MessageStoreSize=number | This size affects how the library collapses redundant messages. If the message store is filled, the library stops collapsing identical messages until a message is consumed. The default is 20. |
| PreserveMessage | Specifies that messages should be left in the queue for other SMS applications. The default is for the Listener to consume messages as they are processed. |
| Option | Description |
|---|---|
| MessageStoreSize=number | This size affects how the library collapses redundant messages. If the message store is filled, the library stops collapsing identical messages until a message is consumed. The default is 20. |
| PreserveMessage | Specifies that messages should be left in the queue for other SMS applications. The default is for the Listener to consume messages as they are processed. |
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.