Using Open Server

You write an Open Server application by using calls to Server-Library and CS-Library routines to set up structures, listen for connection requests from clients and other servers, process client requests, and clean up memory. A gateway application also includes calls to Client-Library routines.

An Open Server application program is compiled in the same way as any other C language program. On most UNIX platforms, you need to include these libraries when you compile and link your program (file names or extensions may vary by platform):

The library files are located in the $SYBASE/$SYBASE_OCS/lib directory.