diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-12 22:39:29 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-12 22:39:29 +0000 |
commit | e6a9cfed069ab9ae1f86c45a7f919f020d4617b1 (patch) | |
tree | b229c14fdf8d5ec144edb9d6e8dd8d1e803bba90 | |
parent | d683d7ea4706d04b2208b591e5fef43878bf1d8b (diff) | |
download | ATCD-e6a9cfed069ab9ae1f86c45a7f919f020d4617b1.tar.gz |
Changed iovec version of sendv/recvv back to send/recv
-rw-r--r-- | ace/SOCK_IO.cpp | 4 | ||||
-rw-r--r-- | ace/SOCK_IO.h | 6 | ||||
-rw-r--r-- | ace/SOCK_IO.i | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ace/SOCK_IO.cpp b/ace/SOCK_IO.cpp index 942fdd66342..bbc23b3c852 100644 --- a/ace/SOCK_IO.cpp +++ b/ace/SOCK_IO.cpp @@ -25,8 +25,8 @@ ACE_SOCK_IO::dump (void) const // returns the number of bytes read. ssize_t -ACE_SOCK_IO::recvv (iovec *io_vec, - const ACE_Time_Value *timeout) +ACE_SOCK_IO::recv (iovec *io_vec, + const ACE_Time_Value *timeout) { ACE_TRACE ("ACE_SOCK_IO::recvv"); #if defined (FIONREAD) diff --git a/ace/SOCK_IO.h b/ace/SOCK_IO.h index 19b45e6c083..ff4b0e65237 100644 --- a/ace/SOCK_IO.h +++ b/ace/SOCK_IO.h @@ -59,12 +59,12 @@ public: // Recv an <n> byte buffer from the connected socket (uses // <read(2)>). - ssize_t sendv (const iovec iov[], + ssize_t send (const iovec iov[], size_t n) const; // Send an <iovec> of size <n> to the connected socket. - ssize_t recvv (iovec *io_vec, - const ACE_Time_Value *timeout = 0); + ssize_t recv (iovec *io_vec, + const ACE_Time_Value *timeout = 0); // Allows a client to read from a socket without having to provide a // buffer to read. This method determines how much data is in the // socket, allocates a buffer of this size, reads in the data, and diff --git a/ace/SOCK_IO.i b/ace/SOCK_IO.i index 95cd76282b5..8fb0122ee49 100644 --- a/ace/SOCK_IO.i +++ b/ace/SOCK_IO.i @@ -62,7 +62,7 @@ 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::sendv (const iovec iov[], size_t n) const +ACE_SOCK_IO::send (const iovec iov[], size_t n) const { ACE_TRACE ("ACE_SOCK_IO::sendv"); return ACE_OS::sendv (this->get_handle (), iov, n); |