# @(#)51        1.3  src/examples/pubsex/greet/greet_multi/readme, examples.src, os2dce21.dss, 960602a.1 5/12/96 10:10:24
#
#   COMPONENT_NAME: examples.src
#
#   FUNCTIONS: readme
#
#   ORIGINS: 27
#
#
# (C) COPYRIGHT International Business Machines Corp. 1992, 1994
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#############################################################################

Steps to build and run the DCE greet-multi example program:
-----------------------------------------------------------

1.- Under AIX issue the make command to build DCE greet-multi.
    Under OS/2 issue, refer to the main Examples Readme file in
    opt\dcelocal\examples for information on how to build
    this example.

2.- Use cdscp to create the entry /.:/servers if it doesn't already
    exist.  You must be dcelogin as cell_admin for this step.
    You can verify that the entry exists with:

    ---> cdscp show directory /.:/servers

    You can create the entry with:

    ---> dcelogin cell_admin -dce-
    ---> cdscp create directory /.:/servers

3.- To run the greet-multi server type "greet greet" at the
    command line. Proceed to the next step when the "Listening..."
    message is issued by the server.

    ---> greet greet

4.- To run the greet-multi client type "client greet <passes> <language>"
    at the command line.
    <passes> is the number of passes that the client is to do.
    <language> is the language for the greeting exchange. Supported
    languages are S or M for Spanish, A, C, or E for English, F or B
    for French. The language options are upper-case only:
                      A | B | C | E | F | S | M
    The client/server greeting message will be displayed by both client
    and server the number of times indicated by <passes> in the
    language indicated by <language>.

    ---> client greet 5  F

5.- Use Ctrl-C to end the server when all demo runs are done.


Server Output:
--------------

Server greet bindings:
ncadg_ip_udp:129.35.65.165[1774]
Server greet is listening...
Le client parle: Bonjour Server !
Le client parle: Bonjour Server !
Le client parle: Bonjour Server !
Le client parle: Bonjour Server !
Le client parle: Bonjour Server !


Client Output:
--------------

Client bound to server greet at d58ab308-b3c6-11ca-891c-c9c2d4ff3b52@ncadg_ip_udp:129.35.65.165[]
Le Greet Server dit: Bonjour client !
Le Greet Server dit: Bonjour client !
Le Greet Server dit: Bonjour client !
Le Greet Server dit: Bonjour client !
Le Greet Server dit: Bonjour client !


For further information on this example see the DCE Application Development
Guide.


