The sample programs are located in the $SYBASE/sample/srvlibrary directory, which includes:
Online source code for the sample programs.
The makefile provided to build the samples. Use them as a starting point for your own Server-Library applications.
The samples header file, ossample.h.
A srv_connect event handler.
Error handlers.
The README file containing instructions for building, executing, and testing the samples.
A client program can stop single and multithreaded samples
by executing the stop_srv registered
procedure.