summaryrefslogtreecommitdiff
path: root/ace/SOCK_IO.h
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.h
parentae77e4c4d6c693f9c4fce9811a2b9a241477ea63 (diff)
downloadATCD-864bdc2174ef996fa55ed5466ee6d7862873feda.tar.gz
ChangeLog
Diffstat (limited to 'ace/SOCK_IO.h')
-rw-r--r--ace/SOCK_IO.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/ace/SOCK_IO.h b/ace/SOCK_IO.h
index 9e1e909dd71..589a39b37f3 100644
--- a/ace/SOCK_IO.h
+++ b/ace/SOCK_IO.h
@@ -55,19 +55,11 @@ public:
// Recv an <n> byte buffer from the connected socket (uses
// <read(2)>).
- ssize_t send (const ACE_IO_Vector_Base iov[],
+ ssize_t send (const iovec iov[],
size_t n) const;
// Send a vector of an <n> byte messages to the connected socket.
- ssize_t send (const ACE_IO_Vector iov[],
- size_t n) const;
- // Send a vector of an <n> byte messages to the connected socket.
-
- ssize_t recv (ACE_IO_Vector_Base iov[],
- size_t n) const;
- // Recv a vector of an <n> byte messages to the connected socket.
-
- ssize_t recv (ACE_IO_Vector iov[],
+ ssize_t recv (iovec iov[],
size_t n) const;
// Recv a vector of an <n> byte messages to the connected socket.
@@ -123,14 +115,7 @@ public:
ACE_OVERLAPPED *overlapped) const;
// Recv <n> bytes via Win32 ReadFile using overlapped I/O.
- ssize_t recv (ACE_IO_Vector_Base *io_vec);
- // 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
- // returns the number of bytes read. The caller is responsible for
- // deleting the member in the <iov_base> field of <io_vec>.
-
- ssize_t recv (ACE_IO_Vector *io_vec);
+ ssize_t recv (iovec *io_vec);
// 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