summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-09 18:22:22 +0000
committeryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-09 18:22:22 +0000
commit0a18398eb3ef8cf2a4205f62431e696fe5235f75 (patch)
treeba31e7195d6a6d9e1427ec045a19b0aed01ef7ab /examples
parent17fbf74a26a359f3c14c0faf9b2d3119b43f5472 (diff)
downloadATCD-0a18398eb3ef8cf2a4205f62431e696fe5235f75.tar.gz
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r--examples/QOS/README56
1 files changed, 43 insertions, 13 deletions
diff --git a/examples/QOS/README b/examples/QOS/README
index dfcfa33c987..048049e0527 100644
--- a/examples/QOS/README
+++ b/examples/QOS/README
@@ -18,12 +18,11 @@ Build Requirements :
2. June98 Platform SDK or later.
3. Link with ws2_32.lib
-The test consists of a server (which is the receiver) and a client
- (which is the sender).
+The test consists of a receiver and a sender.
- The receiver is started first (though it is not mandatory) as :
+ The sender is started first (though it is not mandatory) as :
- server -m merengue.cs.wustl.edu:9091
+ sender -m merengue.cs.wustl.edu:9091 -P 10004
-m: specifies the multicast session address that both client and
server subscribe to for QoS events.
@@ -37,7 +36,7 @@ The test consists of a server (which is the receiver) and a client
The sample Sender is started next as :
- client -m merengue.cs.wustl.edu:9091 -P 10004
+ receiver -m merengue.cs.wustl.edu:9091
-m: specifies the multicast session address that both client and
server subscribe to for QoS events.
@@ -66,10 +65,10 @@ It concentrates on the use of various ACE QoS APIs and their correctness.
RAPI :
-0. The $ACE_ROOT/include/makeinclude/platform_macros.GNU should be the
+0. The $ACE_ROOT/include/makeinclude/platform_macros.GNU should include the
following :
-include /project/doc/vishal/ACE_wrappers/include/makeinclude/platform_sunos5_sunc++.GNU
+include /project/doc/vishal/ACE_wrappers/include/makeinclude/<appropriate platform macros file eg.platform_sunos5_sunc++.GNU>
PLATFORM_RAPI_CPPFLAGS += -I/project/doc/vishal/rapi/rel4.2a4/rsvpd/
PLATFORM_RAPI_LIBS += -lrsvp
PLATFORM_RAPI_LDFLAGS += -L/project/doc/vishal/rapi/rel4.2a4/rsvpd/
@@ -78,10 +77,7 @@ assuming that RAPI library is installed in /project/doc/vishal/rapi/rel4.2a4/
1. Compile ACE with
- make rapi=1 static_libs_only=1
-
- Static library option is used because the RAPI library that we have
- does not compile as a shared object.
+ make rapi=1
2. Run the RSVP Daemon on two machines: (merengue.cs and macarena.cs)
@@ -92,16 +88,50 @@ assuming that RAPI library is installed in /project/doc/vishal/rapi/rel4.2a4/
Typical values for rtap would be :
- dest udp ace/5000
+ dest udp macarena/5000
sender merengue/5000 [ t 2000000 100000 2000000 512 1024 ]
- dest udp ace/5000
+ dest udp macarena/5000
reserve wf [ cl 2000000 100000 2000000 512 1024 ]
3. If RTAP runs fine and the daemons show the debug messages about
RESV, PATH and other RSVP messages, run the QoS example, making sure
that rtap session is released on both machines.
+The test consists of a receiver and a sender.
+
+ The sender is started first (though it is not mandatory) as :
+
+ sender -m macarena.cs.wustl.edu:9091 -P 10004
+
+ -m: specifies the multicast session address that both client and
+ server subscribe to for QoS events.
+
+ -p: Protocol to be used. Could be udp or tcp. Default is udp.
+
+ -P: Sender source port. If not specified, DEFAULT_SOURCE_SENDER_PORT
+ (10001) will be used.
+
+ -h: Displays the help on various options.
+
+The sample Sender is started next as :
+
+ receiver -m macarena.cs.wustl.edu:9091
+
+ -m: specifies the multicast session address that both client and
+ server subscribe to for QoS events.
+
+ -n: Option to be used by senders only to specify the destination
+ address. This option is overriden if a multicast address is also
+ specified through the -m option.
+
+ -p: Protocol to be used. Could be udp or tcp. Default is udp.
+
+ -P: Sender source port. If not specified, DEFAULT_SOURCE_SENDER_PORT
+ (10001) will be used.
+
+ -h: Displays the help on various options.
+
-------------------------------------------------------------------------------
If you run into any problems with this test please contact Vishal