# @(#)44        1.3  src/examples/pubsex/greet/greet_ep/readme, examples.src, os2dce21.dss, 960602a.1 5/12/96 10:09:33
#
#   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-ep example program:
--------------------------------------------------------

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

2.- To run the greet_ep server type "greet ncadg_ip_udp" at the command line.
    Note down the bindings displayed by the server, and proceed to the next
    when the "Listening..." message is issued by the server.

    --->  greet ncadg_ip_udp

    The server will display:

    Bindings:
    ncadg_ip_udp:129.35.65.165[1771]
    Listening...

3.- To run the greet_ep client type "client <binding> <passes>" at the
    command line.
    <binding> is the binding string obtained in the previous step.
    <passes> is the number of passes that the client is to do.
    The client/server greeting message will be displayed by both client
    and server the number of times indicated by <passes>.

    --->  client ncadg_ip_udp:129.35.65.165[1771]  5



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


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

Bindings:
ncadg_ip_udp:129.35.65.165[1771]
Listening...
The client says: Hello Server !
The client says: Hello Server !
The client says: Hello Server !
The client says: Hello Server !
The client says: Hello Server !


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

Bound to ncadg_ip_udp:129.35.65.1771[]
The Greet Server said: Hi client !
The Greet Server said: Hi client !
The Greet Server said: Hi client !
The Greet Server said: Hi client !
The Greet Server said: Hi client !



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

