diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-22 17:24:56 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-22 17:24:56 +0000 |
commit | bb7672ce62fcc76cc6955cce40ea7dd915a14538 (patch) | |
tree | 14a66a6b99cddf4d57432b3901ad877f2388aced /ace/SOCK_IO.i | |
parent | 90c8b9aeb7737f290111b66cb6dba6011a30f2f6 (diff) | |
download | ATCD-bb7672ce62fcc76cc6955cce40ea7dd915a14538.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SOCK_IO.i')
-rw-r--r-- | ace/SOCK_IO.i | 16 |
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 |