summaryrefslogtreecommitdiff
path: root/ace/SOCK_Dgram.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-02 21:30:13 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-02 21:30:13 +0000
commit1cf98c6598b8d9e3006386047c9048e3da520289 (patch)
treea0d3d35a569c0e2afb568593c6a930f27193109f /ace/SOCK_Dgram.i
parent25e2067a64878577e170d66e6d4385e99a6694e4 (diff)
downloadATCD-1cf98c6598b8d9e3006386047c9048e3da520289.tar.gz
.
Diffstat (limited to 'ace/SOCK_Dgram.i')
-rw-r--r--ace/SOCK_Dgram.i10
1 files changed, 4 insertions, 6 deletions
diff --git a/ace/SOCK_Dgram.i b/ace/SOCK_Dgram.i
index 5d713b9872e..723a3d3b9d8 100644
--- a/ace/SOCK_Dgram.i
+++ b/ace/SOCK_Dgram.i
@@ -121,10 +121,9 @@ ACE_SOCK_Dgram::send (const void *buf,
iovec buffer[1];
buffer[0].iov_len = n;
- buffer[0].iov_base = buf;
+ buffer[0].iov_base = (char *) buf;
size_t number_of_bytes_sent = 0;
- return this->send (this->get_handle (),
- buffer,
+ return this->send (buffer,
1,
number_of_bytes_sent,
flags,
@@ -147,10 +146,9 @@ ACE_SOCK_Dgram::recv (void *buf,
iovec buffer[1];
buffer[0].iov_len = n;
- buffer[0].iov_base = buf;
+ buffer[0].iov_base = (char *) buf;
size_t number_of_bytes_recvd = 0;
- return this->recv (this->get_handle (),
- buffer,
+ return this->recv (buffer,
1,
number_of_bytes_recvd,
flags,