PreviousNext

Writing the Server Code

The following topics describe the server program for the greet application. The greet_server program takes one argument and is invoked as follows:

greet_server CDS_pathname

The greet_server program uses the input argument to establish an entry for itself in the DCE CDS namespace.

The greet server program has two user-written modules:

· The greet_server.c module contains the server main function and performs the initialization and registration required to export the greet interface.

· The greet_manager.c module contains the code that actually implements the greet operation.

More:

The greet_server.c Source Code

The greet_manager.c Source Code