summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorvishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-27 22:03:04 +0000
committervishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-27 22:03:04 +0000
commit8eb2fc06a6701754d88be18bf9502ecc45bee87e (patch)
tree525f506794def3096d7b3fbb60bf2ba30d0ab81d /examples
parent62ea34c5905711efba8e49e7d0c3fcd363e71066 (diff)
downloadATCD-8eb2fc06a6701754d88be18bf9502ecc45bee87e.tar.gz
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r--examples/QOS/client.cpp5
-rw-r--r--examples/QOS/server.cpp3
2 files changed, 5 insertions, 3 deletions
diff --git a/examples/QOS/client.cpp b/examples/QOS/client.cpp
index 9f2c6bbaca9..0e8e473d472 100644
--- a/examples/QOS/client.cpp
+++ b/examples/QOS/client.cpp
@@ -296,8 +296,9 @@ main (int argc, char * argv[])
// Set the QOS according to the supplied ACE_QoS. The I/O control
// code used under the hood is SIO_SET_QOS.
if (ACE_OS::ioctl (dgram_mcast.get_handle (), // Socket.
- &ace_qos, // ACE_QoS.
- &dwBytes) == -1) // bytes returned.
+ SIO_SET_QOS,
+ ace_qos, // ACE_QoS.
+ &dwBytes) == -1) // bytes returned.
ACE_ERROR ((LM_ERROR,
"Error in Qos set ACE_OS::ioctl() %d\n",
dwBytes));
diff --git a/examples/QOS/server.cpp b/examples/QOS/server.cpp
index b936d6402cf..37722dadde7 100644
--- a/examples/QOS/server.cpp
+++ b/examples/QOS/server.cpp
@@ -287,7 +287,8 @@ main (int argc, char * argv[])
// Set the QOS according to the supplied ACE_QoS. The I/O control
// code used under the hood is SIO_SET_QOS.
if (ACE_OS::ioctl (dgram_mcast.get_handle (), // Socket.
- &ace_qos, // ACE_QoS.
+ SIO_SET_QOS,
+ ace_qos, // ACE_QoS.
&dwBytes) == -1) // bytes returned.
ACE_ERROR ((LM_ERROR,
"Error in Qos set ACE_OS::ioctl() %d\n",