diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-07-02 21:30:13 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-07-02 21:30:13 +0000 |
commit | 1cf98c6598b8d9e3006386047c9048e3da520289 (patch) | |
tree | a0d3d35a569c0e2afb568593c6a930f27193109f /ace/SOCK_Dgram.cpp | |
parent | 25e2067a64878577e170d66e6d4385e99a6694e4 (diff) | |
download | ATCD-1cf98c6598b8d9e3006386047c9048e3da520289.tar.gz |
.
Diffstat (limited to 'ace/SOCK_Dgram.cpp')
-rw-r--r-- | ace/SOCK_Dgram.cpp | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/ace/SOCK_Dgram.cpp b/ace/SOCK_Dgram.cpp index a4705e4d1f5..4fce2fd9b63 100644 --- a/ace/SOCK_Dgram.cpp +++ b/ace/SOCK_Dgram.cpp @@ -432,52 +432,3 @@ ACE_SOCK_Dgram::recv (void *buf, addr.set_size (addr_len); return status; } - -ssize_t -ACE_SOCK_Dgram::send (const iovec *buffers, - int buffer_count, - size_t &number_of_bytes_sent, - int flags, - const ACE_Addr &addr, - ACE_OVERLAPPED *overlapped, - ACE_OVERLAPPED_COMPLETION_FUNC func) const -{ - ACE_TRACE ("ACE_SOCK_Dgram::send"); - sockaddr *saddr = (sockaddr *) addr.get_addr (); - size_t len = addr.get_size (); - return ACE_OS::sendto (this->get_handle (), - buffers, - buffer_count, - number_of_bytes_sent, - flags, - (const sockaddr *) saddr, - len, - overlapped, - func); -} - -ssize_t -ACE_SOCK_Dgram::recv (iovec *buffers, - int buffer_count, - size_t &number_of_bytes_recvd, - int &flags, - ACE_Addr &addr, - ACE_OVERLAPPED *overlapped, - ACE_OVERLAPPED_COMPLETION_FUNC func) const -{ - ACE_TRACE ("ACE_SOCK_IO::recv"); - sockaddr *saddr = (sockaddr *) addr.get_addr (); - int addr_len = addr.get_size (); - - ssize_t status = ACE_OS::recvfrom (this->get_handle (), - buffers, - buffer_count, - number_of_bytes_recvd, - flags, - (sockaddr *) saddr, - &addr_len, - overlapped, - func); - addr.set_size (addr_len); - return status; -} |