From bb7672ce62fcc76cc6955cce40ea7dd915a14538 Mon Sep 17 00:00:00 2001 From: irfan Date: Fri, 22 May 1998 17:24:56 +0000 Subject: *** empty log message *** --- ace/SOCK_IO.i | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'ace/SOCK_IO.i') 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 -- cgit v1.2.1