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

SQL Anywhere 11.0.0 » MobiLink - Server-Initiated Synchronization » Listener utility » Listener syntax


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 the following command:

dblsn -d filename.dll -a ?

Following is the supported listening library and its options.

UDP (lsn_udp.dll)
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 All occurrences of the $sender action variable are followed by a :port-number suffix.
HideWSAErrorBox Suppresses the error box showing errors on socket operations.
CodePage=number On Windows Mobile, translates multibyte characters into Unicode based on this code page number.