Extending the Server

Top  Previous  Next

As well as providing access to graphical user interface (GUI) features, the 3L Windows Server allows you to define your own host-based services and make them available to the C6000. You do this by defining your own cluster of services and building them into a dynamic-link library. When the server sees a request for the cluster, it attempts to load the relevant library and use the services it provides.

 

Please note the following limits:

 

The maxim size of any record in a transaction is 4096 bytes.
The maximum size for any service transaction is 8292 bytes. This allows for two records of maximum size, a few non-record parameters, and some extra control information.

 

Transactions that involve more data than allowed by these limits must be broken into several smaller transactions. You usually need to include an extra parameter with these smaller transactions to allow your code to know when all the data have been transferred. There are several techniques to do this, but the simplest is to pass an extra parameter which is 1 for all of the smaller transactions (to indicate that more follow) but 0 for the final one.