summaryrefslogtreecommitdiff
path: root/ace/SOCK_IO.i
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-22 17:24:56 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-22 17:24:56 +0000
commitbb7672ce62fcc76cc6955cce40ea7dd915a14538 (patch)
tree14a66a6b99cddf4d57432b3901ad877f2388aced /ace/SOCK_IO.i
parent90c8b9aeb7737f290111b66cb6dba6011a30f2f6 (diff)
downloadATCD-bb7672ce62fcc76cc6955cce40ea7dd915a14538.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/SOCK_IO.i')
-rw-r--r--ace/SOCK_IO.i16
1 files changed, 15 insertions, 1 deletions
diff --git a/ace/SOCK_IO.i b/ace/SOCK_IO.i
index b36698dc257..05fc6ca658e 100644
--- a/ace/SOCK_IO.i
+++ b/ace/SOCK_IO.i
@@ -68,13 +68,27 @@ ACE_SOCK_IO::send (const iovec iov[], size_t n) const
return ACE_OS::writev (this->get_handle (), (iovec *) iov, n);
}
+ASYS_INLINE ssize_t
+ACE_SOCK_IO::send (const ACE_IO_Vector iov[], size_t n) const
+{
+ ACE_TRACE ("ACE_SOCK_IO::send");
+ return ACE_OS::writev (this->get_handle (), iov, n);
+}
+
// Recv an n byte message from the connected socket.
ASYS_INLINE ssize_t
ACE_SOCK_IO::recv (iovec iov[], size_t n) const
{
ACE_TRACE ("ACE_SOCK_IO::recv");
- return ACE_OS::readv (this->get_handle (), (iovec *) iov, n);
+ return ACE_OS::readv (this->get_handle (), iov, n);
+}
+
+ASYS_INLINE ssize_t
+ACE_SOCK_IO::recv (ACE_IO_Vector iov[], size_t n) const
+{
+ ACE_TRACE ("ACE_SOCK_IO::recv");
+ return ACE_OS::readv (this->get_handle (), iov, n);
}
ASYS_INLINE ssize_t