summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-02 21:31:06 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-02 21:31:06 +0000
commitbb011ae849f4c9f0db1456afd5cda4ff3b5818ed (patch)
treea0ac19894b640d48d89f6ca2f635610a446e8f35
parent1cf98c6598b8d9e3006386047c9048e3da520289 (diff)
downloadATCD-bb011ae849f4c9f0db1456afd5cda4ff3b5818ed.tar.gz
.
-rw-r--r--ace/SOCK_Dgram.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/ace/SOCK_Dgram.cpp b/ace/SOCK_Dgram.cpp
index 4fce2fd9b63..7c25da9af3e 100644
--- a/ace/SOCK_Dgram.cpp
+++ b/ace/SOCK_Dgram.cpp
@@ -391,44 +391,3 @@ ACE_SOCK_Dgram::recv (void *buf,
return this->recv (buf, n, addr, flags);
}
}
-
-// <sendto> an N byte datagram to <addr> (connectionless version).
-
-ASYS_INLINE ssize_t
-ACE_SOCK_Dgram::send (const void *buf,
- size_t n,
- const ACE_Addr &addr,
- int flags) 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 (),
- (const char *) buf,
- n,
- flags,
- (struct sockaddr *) saddr,
- len);
-}
-
-// <recvfrom> an n byte datagram (connectionless version).
-
-ASYS_INLINE ssize_t
-ACE_SOCK_Dgram::recv (void *buf,
- size_t n,
- ACE_Addr &addr,
- int flags) const
-{
- ACE_TRACE ("ACE_SOCK_Dgram::recv");
- sockaddr *saddr = (sockaddr *) addr.get_addr ();
- int addr_len = addr.get_size ();
-
- ssize_t status = ACE_OS::recvfrom (this->get_handle (),
- (char *) buf,
- n,
- flags,
- (sockaddr *) saddr,
- &addr_len);
- addr.set_size (addr_len);
- return status;
-}