summaryrefslogtreecommitdiff
path: root/ace/SOCK_IO.i
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-17 20:22:38 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-17 20:22:38 +0000
commit864bdc2174ef996fa55ed5466ee6d7862873feda (patch)
tree874e6c77f07c532cbd4ba6da53db76fc9438ba8a /ace/SOCK_IO.i
parentae77e4c4d6c693f9c4fce9811a2b9a241477ea63 (diff)
downloadATCD-864bdc2174ef996fa55ed5466ee6d7862873feda.tar.gz
ChangeLog
Diffstat (limited to 'ace/SOCK_IO.i')
-rw-r--r--ace/SOCK_IO.i22
1 files changed, 4 insertions, 18 deletions
diff --git a/ace/SOCK_IO.i b/ace/SOCK_IO.i
index c9a9cab5a7b..d6b1f8c77c3 100644
--- a/ace/SOCK_IO.i
+++ b/ace/SOCK_IO.i
@@ -62,33 +62,19 @@ ACE_SOCK_IO::recv (void *buf, size_t n) const
// Send a vector of n byte messages to the connected socket.
ASYS_INLINE ssize_t
-ACE_SOCK_IO::send (const ACE_IO_Vector_Base iov[], size_t n) const
+ACE_SOCK_IO::send (const iovec iov[], size_t n) const
{
ACE_TRACE ("ACE_SOCK_IO::send");
- return ACE_OS::writev (this->get_handle (), 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);
+ return ACE_OS::sendv (this->get_handle (), iov, n);
}
// Recv an n byte message from the connected socket.
ASYS_INLINE ssize_t
-ACE_SOCK_IO::recv (ACE_IO_Vector_Base iov[], size_t n) const
-{
- ACE_TRACE ("ACE_SOCK_IO::recv");
- 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_SOCK_IO::recv (iovec iov[], size_t n) const
{
ACE_TRACE ("ACE_SOCK_IO::recv");
- return ACE_OS::readv (this->get_handle (), iov, n);
+ return ACE_OS::recvv (this->get_handle (), iov, n);
}
ASYS_INLINE ssize_t