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

SQL Anywhere 10.0.1 » MobiLink - Server-Initiated Synchronization » Listener Utility » Listener syntax

Action variables Next Page

Listening libraries


When you run the Windows 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 ?.

Following is a list of supported listening libraries and their options.

UDP (lsn_udp.dll)
OptionDescription
Port=port_numberThe default is 5001.
Timeout=secondsThis value must be smaller than the polling interval of the UDP listening thread. The default is 0.
ShowSenderPortAppends :port to the sender.
HideWSAErrorBoxSuppresses the error box showing errors on socket operations.
CodePage=numberOn CE, translates multibyte characters into Unicode based on this code page number.
SMS for AirCard510 (lsn_swi510.dll)
OptionDescription
MessageStoreSize=numberThis 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=nameThe matching Carrier(name).network_provider_id. This information is sent up during a device tracking synchronization. This option is needed for device tracking.
PhoneNumber=numberA 10-digit telephone number. This information is sent up during a device tracking synchronization. This option is needed for device tracking.
SMS for AirCard555 (maac555.dll)
OptionDescription
MessageStoreSize=numberThis 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.
PreserveMessageSpecifies 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.
SMS for AirCard710 and AirCard750 using firmware R2 (maac750.dll)
OptionDescription
MessageStoreSize=numberThis 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.
PreserveMessageSpecifies 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.
SMS for AirCard710 and AirCard750 using firmware R3 (maac750r3.dll)
OptionDescription
MessageStoreSize=numberThis 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.
PreserveMessageSpecifies 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.