To implement a custom encoding scheme, you can build a custom encoding DLL. You can use this custom DLL to apply special features required for a particular messages system, or to collect statistics, such as how many messages are sent to each user.
The header file %SQLANY12%\SDK\Include\dbrmt.h includes an application programming interface that you can use to build a custom encoding scheme.
To use your custom DLL, set the message control parameter encode_dll to a value that is the full path to the custom DLL. For example:
SET REMOTE FTP OPTION "Public"."encode_dll" = 'c:\\sqlany12\\Bin32\\custom.dll'; |
Encoding and decoding must be compatible: if you implement a custom encoding, you must make sure that the DLL is present at the receiving end, and that the DLL is in place to decode your messages properly.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |