diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-10-26 22:38:49 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-10-26 22:38:49 +0000 |
commit | d86f427ede3d90e8f579a52061449d39a611bd55 (patch) | |
tree | 04db92726a3f75f550b325bd4924ec24b6bdebd6 /ace/SOCK_IO.i | |
parent | 6ca4654f27f63096ee7f1f0c3b3b95b76d1ce5a1 (diff) | |
download | ATCD-d86f427ede3d90e8f579a52061449d39a611bd55.tar.gz |
I'm done
Diffstat (limited to 'ace/SOCK_IO.i')
-rw-r--r-- | ace/SOCK_IO.i | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/ace/SOCK_IO.i b/ace/SOCK_IO.i index bfc6450d286..67ae7186bf6 100644 --- a/ace/SOCK_IO.i +++ b/ace/SOCK_IO.i @@ -67,7 +67,7 @@ ACE_SOCK_IO::recv (iovec iov[], size_t n) const inline ssize_t ACE_SOCK_IO::send (const void *buf, size_t n, - ACE_OVERLAPPED *overlapped) const + ACE_OVERLAPPED *overlapped) const { ACE_TRACE ("ACE_SOCK_IO::send"); return ACE_OS::write (this->get_handle (), @@ -77,9 +77,25 @@ ACE_SOCK_IO::send (const void *buf, size_t n, inline ssize_t ACE_SOCK_IO::recv (void *buf, size_t n, - ACE_OVERLAPPED *overlapped) const + ACE_OVERLAPPED *overlapped) const { ACE_TRACE ("ACE_SOCK_IO::recv"); return ACE_OS::read (this->get_handle (), (char *) buf, n, overlapped); } + +inline ssize_t +ACE_SOCK_IO::send (const void *buf, size_t len, int flags, + const ACE_Time_Value *timeout) +{ + ACE_TRACE ("ACE_SOCK_IO::send"); + return ACE::send (this->get_handle (), buf, len, flags, timeout); +} + +inline ssize_t +ACE_SOCK_IO::recv (void *buf, size_t len, int flags, + const ACE_Time_Value *timeout) +{ + ACE_TRACE ("ACE_SOCK_IO::recv"); + return ACE::recv (this->get_handle (), buf, len, flags, timeout); +} |