summaryrefslogtreecommitdiff
path: root/ace/SOCK_Dgram.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-07 03:35:51 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-07 03:35:51 +0000
commitfbfd367ed60631f327fd6eccfa312230845c8fbf (patch)
tree822082ba0117438680286ce346b1d419758935a6 /ace/SOCK_Dgram.h
parent716e8019ac309fa3b47839d576ea7e3d18f16a2b (diff)
downloadATCD-fbfd367ed60631f327fd6eccfa312230845c8fbf.tar.gz
ChangeLogTag: Mon Dec 06 21:16:53 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'ace/SOCK_Dgram.h')
-rw-r--r--ace/SOCK_Dgram.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ace/SOCK_Dgram.h b/ace/SOCK_Dgram.h
index 111434a3d7e..af31f35a287 100644
--- a/ace/SOCK_Dgram.h
+++ b/ace/SOCK_Dgram.h
@@ -126,6 +126,19 @@ public:
// returned with <errno == ETIME>. If it succeeds the number of
// bytes received is returned.
+ ssize_t send (const void *buf,
+ size_t n,
+ ACE_Addr &addr,
+ int flags,
+ const ACE_Time_Value *timeout) const;
+ // Wait up to <timeout> amount of time to receive a datagram into
+ // <buf>. The <ACE_Time_Value> indicates how long to blocking
+ // trying to receive. If <timeout> == 0, the caller will block
+ // until action is possible, else will wait until the relative time
+ // specified in *<timeout> elapses). If <send> times out a -1 is
+ // returned with <errno == ETIME>. If it succeeds the number of
+ // bytes received is returned.
+
ssize_t send (const iovec buffers[],
int buffer_count,
size_t &number_of_bytes_sent,