summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-17 19:31:03 +0000
committeryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-17 19:31:03 +0000
commit41915dd223c1acfbe682bf65eb04bbe003a1b7c3 (patch)
tree14c50f76c78275374e1dc887f713a08457f87718
parentbbbc7ebd6ba2caba5d15775e412df1339b97d422 (diff)
downloadATCD-41915dd223c1acfbe682bf65eb04bbe003a1b7c3.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/tests/AVStreams/Simple_Two_Stage_With_QoS/sender.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/Simple_Two_Stage_With_QoS/sender.cpp b/TAO/orbsvcs/tests/AVStreams/Simple_Two_Stage_With_QoS/sender.cpp
index 3300646dc20..825734c1ece 100644
--- a/TAO/orbsvcs/tests/AVStreams/Simple_Two_Stage_With_QoS/sender.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/Simple_Two_Stage_With_QoS/sender.cpp
@@ -74,7 +74,9 @@ Sender::Sender (void)
protocol_ ("QoS_UDP"),
frame_rate_ (1.0),
mb_ (BUFSIZ),
- address_ ("localhost:8000")
+ address_ ("localhost:8000"),
+ src_addr_ (0),
+ dest_addr_ (0)
{
}
@@ -91,7 +93,7 @@ Sender::parse_args (int argc,
char **argv)
{
// Parse command line arguments
- ACE_Get_Opt opts (argc, argv, "f:p:r:v:s:d");
+ ACE_Get_Opt opts (argc, argv, "f:p:r:vs:d:");
int c;
while ((c= opts ()) != -1)
@@ -118,7 +120,7 @@ Sender::parse_args (int argc,
case 'd':
this->address_ = opts.opt_arg ();
ACE_NEW_RETURN (this->dest_addr_,
- ACE_INET_Addr (opts.opt_arg ()),
+ ACE_INET_Addr (this->address_.c_str ()),
0);
break;
default:
@@ -413,7 +415,7 @@ Sender::pace_data (ACE_ENV_SINGLE_ARG_DECL)
// Reset the message block.
this->mb_.reset ();
- if (this->frame_count_ == 25)
+ if (this->frame_count_ == 3)
{
TAO_Forward_FlowSpec_Entry entry (this->flowname_.c_str (),
"IN",