summaryrefslogtreecommitdiff
path: root/ace/SOCK_IO.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-11 19:28:54 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-11 19:28:54 +0000
commitb6690af291706daea2bf4725ccd60d33ae7b62cc (patch)
tree0a52dac584eb2525b5b656bc5998fe1165b0c149 /ace/SOCK_IO.h
parent3012fe83f85d720eb75d21830f62591c42b9b160 (diff)
downloadATCD-b6690af291706daea2bf4725ccd60d33ae7b62cc.tar.gz
.
Diffstat (limited to 'ace/SOCK_IO.h')
-rw-r--r--ace/SOCK_IO.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/ace/SOCK_IO.h b/ace/SOCK_IO.h
index c6eaa4dbc8e..78ce10309e3 100644
--- a/ace/SOCK_IO.h
+++ b/ace/SOCK_IO.h
@@ -61,16 +61,22 @@ public:
ssize_t send (const iovec iov[],
size_t n) const;
- // Send a vector of an <n> byte messages to the connected socket.
+ // Send an <iovec> of size <n> to the connected socket.
+
+ ssize_t send_n (const iovec iov[],
+ size_t n) const;
+ // Send an <iovec> of size <n> to the connected socket (uses
+ // <ACE::sendv_n>). Will block until all bytes are sent or an error
+ // occurs.
ssize_t recv (iovec iov[],
size_t n) const;
- // Recv a vector of an <n> byte messages to the connected socket.
+ // Receive an <iovec> of size <n> to the connected socket.
ssize_t send (const void *buf,
size_t n,
int flags,
- const ACE_Time_Value *timeout);
+ const ACE_Time_Value *timeout) const;
// Wait to to <timeout> amount of time to send up to <n> bytes into
// <buf> from <handle> (uses the <send> call). If <send> times out
// a -1 is returned with <errno == ETIME>. If it succeeds the
@@ -79,7 +85,7 @@ public:
ssize_t recv (void *buf,
size_t n,
int flags,
- const ACE_Time_Value *timeout);
+ const ACE_Time_Value *timeout) const;
// Wait up to <timeout> amount of time to receive up to <n> bytes
// into <buf> from <handle> (uses the <recv> call). If <recv> times
// out a -1 is returned with <errno == ETIME>. If it succeeds the
@@ -87,7 +93,7 @@ public:
ssize_t send (const void *buf,
size_t n,
- const ACE_Time_Value *timeout);
+ const ACE_Time_Value *timeout) const;
// Wait to to <timeout> amount of time to send up to <n> bytes into
// <buf> from <handle> (uses the <send> call). If <send> times out
// a -1 is returned with <errno == ETIME>. If it succeeds the
@@ -95,7 +101,7 @@ public:
ssize_t recv (void *buf,
size_t n,
- const ACE_Time_Value *timeout);
+ const ACE_Time_Value *timeout) const;
// Wait up to <timeout> amount of time to receive up to <n> bytes
// into <buf> from <handle> (uses the <recv> call). If <recv> times
// out a -1 is returned with <errno == ETIME>. If it succeeds the