summaryrefslogtreecommitdiff
path: root/TAO/tests/Cubit/TAO/README
blob: c2a09a6aeafd32bea94d36e08d40b8c4b0a48b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
How to run the cubit example on UNIX
------------------------------------

server:
-------

svr [-d] -ORBhost <hostname> [-orbport <portnum>]

Due to some problems, it is necessary to provide the hostname
If you don't use -d, the server will not display the IOR it is using
and so you cannot provide this string to the client. Thus "-d" is
necessary.

client:
-------
clnt [-d] -n <iterations> -O <IOR string displayed by server>


Running the Examples

<P>You will find the tests executables in $TAO_ROOT/tests directory.
The Debug files are <CODE>client.exe</CODE> and
<CODE>server.exe</CODE>.  The Release versions are
<CODE>client-r.exe</CODE> and <CODE>server-r.exe</CODE>.  You will
need to add the directories containing the ACE and TAO DLLS to your
path before you can run the Cubit test.</P>

<P>To run the server, type in <CODE>server -OAhost <EM>serverhost</EM> 
-d</CODE> where <CODE><EM>serverhost</EM></CODE> is the name of the machine 
that the server is running on. When the server is started, you should see as 
the first line of output something that looks like 
<CODE>iiop:1.0//serverhost:5001/key00</CODE>.  You will need this when you run 
the client.</P>

<P>At another prompt (on the same machine or a different machine) type in 
<CODE>client -O <EM>IIOP</EM></CODE> where <CODE><EM>IIOP</EM></CODE> is the 
name that the server gave you.</P>