Debian Codegraph @

examples/QOS/Simple/README

raw
1
2
3 A Regression test for ACE QoS features.
4 ---------------------------------------
5
6 This test implements a simple Receiver-Sender program that ensures
7 Quality of Service (QoS) guarantees on the underlying network before
8 transmitting data. The program tests the ACE QoS APIs/features. The
9 test works for Winsock2 APIs on Win2K.
10
11
12 ------------------------------------------------------------------------
13 WIN2K :
14
15 Build Requirements :
16 --------------------
17 1. Two Win2K machines.
18 2. June98 Platform SDK or later.
19 3. Link with ws2_32.lib
20
21 The test consists of a receiver and a sender.
22
23 The sender is started first (though it is not mandatory) as :
24
25 sender -m merengue.cs.wustl.edu:9091 -P 10004
26
27 -m: specifies the multicast session address that both client and
28 server subscribe to for QoS events.
29
30 -p: Protocol to be used. Could be udp or tcp. Default is udp.
31
32 -P: Sender source port. If not specified, DEFAULT_SOURCE_SENDER_PORT
33 (10001) will be used.
34
35 -h: Displays the help on various options.
36
37 The sample Sender is started next as :
38
39 receiver -m merengue.cs.wustl.edu:9091
40
41 -m: specifies the multicast session address that both client and
42 server subscribe to for QoS events.
43
44 -n: Option to be used by senders only to specify the destination
45 address. This option is overriden if a multicast address is also
46 specified through the -m option.
47
48 -p: Protocol to be used. Could be udp or tcp. Default is udp.
49
50 -P: Sender source port. If not specified, DEFAULT_SOURCE_SENDER_PORT
51 (10001) will be used.
52
53 -h: Displays the help on various options.
54
55 On Win2K the user must have administrative access to the machine to
56 run this program. It seems to be a pre-requisite to opening QoS
57 sockets.
58
59 The sender and receiver should be run on different Win2K machines.
60
61 The test demonstrates how to GQOS enable an application using the ACE QoS APIs.
62 It concentrates on the use of various ACE QoS APIs and their correctness.
63
64 -------------------------------------------------------------------------------
65
66 RAPI :
67
68 0. The $ACE_ROOT/include/makeinclude/platform_macros.GNU should include the
69 following :
70
71 include /project/doc/vishal/ACE_wrappers/include/makeinclude/<appropriate platform macros file eg.platform_sunos5_sunc++.GNU>
72 PLATFORM_RAPI_CPPFLAGS += -I/project/doc/vishal/rapi/rel4.2a4/rsvpd/
73 PLATFORM_RAPI_LIBS += -lrsvp
74 PLATFORM_RAPI_LDFLAGS += -L/project/doc/vishal/rapi/rel4.2a4/rsvpd/
75
76 assuming that RAPI library is installed in /project/doc/vishal/rapi/rel4.2a4/
77
78 1. Compile ACE with
79
80 make rapi=1
81
82 2. Run the RSVP Daemon on two machines: (merengue.cs and macarena.cs)
83
84 /project/doc/vishal/rapi/rel4.2a4/rsvpd/rsvpd -D
85
86 The current version of the daemon comes with an inbuilt rtap
87 application to test the various reservation commands and RAPI APIs.
88
89 Typical values for rtap would be :
90
91 dest udp macarena/5000
92 sender merengue/5000 [ t 2000000 100000 2000000 512 1024 ]
93
94 dest udp macarena/5000
95 reserve wf [ cl 2000000 100000 2000000 512 1024 ]
96
97 3. If RTAP runs fine and the daemons show the debug messages about
98 RESV, PATH and other RSVP messages, run the QoS example, making sure
99 that rtap session is released on both machines.
100
101 The test consists of a receiver and a sender.
102
103 The sender is started first (though it is not mandatory) as :
104
105 sender -m macarena.cs.wustl.edu:9091 -P 10004
106
107 -m: specifies the multicast session address that both client and
108 server subscribe to for QoS events.
109
110 -p: Protocol to be used. Could be udp or tcp. Default is udp.
111
112 -P: Sender source port. If not specified, DEFAULT_SOURCE_SENDER_PORT
113 (10001) will be used.
114
115 -h: Displays the help on various options.
116
117 The sample Sender is started next as :
118
119 receiver -m macarena.cs.wustl.edu:9091
120
121 -m: specifies the multicast session address that both client and
122 server subscribe to for QoS events.
123
124 -n: Option to be used by senders only to specify the destination
125 address. This option is overriden if a multicast address is also
126 specified through the -m option.
127
128 -p: Protocol to be used. Could be udp or tcp. Default is udp.
129
130 -P: Sender source port. If not specified, DEFAULT_SOURCE_SENDER_PORT
131 (10001) will be used.
132
133 -h: Displays the help on various options.
134
135 -------------------------------------------------------------------------------
136
137 If you run into any problems with this test please contact Vishal
138 Kachroo <[email protected]>.
139
140 This README last updated on 20th July, 2000.
141
142 -------------------------------------------------------------------------------