diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-17 20:22:38 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-17 20:22:38 +0000 |
commit | 864bdc2174ef996fa55ed5466ee6d7862873feda (patch) | |
tree | 874e6c77f07c532cbd4ba6da53db76fc9438ba8a /ace/SOCK_Dgram.cpp | |
parent | ae77e4c4d6c693f9c4fce9811a2b9a241477ea63 (diff) | |
download | ATCD-864bdc2174ef996fa55ed5466ee6d7862873feda.tar.gz |
ChangeLog
Diffstat (limited to 'ace/SOCK_Dgram.cpp')
-rw-r--r-- | ace/SOCK_Dgram.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ace/SOCK_Dgram.cpp b/ace/SOCK_Dgram.cpp index d0589721476..04634dcca13 100644 --- a/ace/SOCK_Dgram.cpp +++ b/ace/SOCK_Dgram.cpp @@ -26,7 +26,7 @@ ACE_SOCK_Dgram::dump (void) const // returns the number of bytes read. ssize_t -ACE_SOCK_Dgram::recv (ACE_IO_Vector_Base *io_vec, +ACE_SOCK_Dgram::recv (iovec *io_vec, ACE_Addr &addr, int flags) const { @@ -121,11 +121,11 @@ ACE_SOCK_Dgram::open (const ACE_Addr &local, } #if defined (ACE_HAS_MSG) -// Send an ACE_IO_Vector_Base of size N to ADDR as a datagram (connectionless +// Send an iovec of size N to ADDR as a datagram (connectionless // version). ssize_t -ACE_SOCK_Dgram::send (const ACE_IO_Vector_Base iov[], +ACE_SOCK_Dgram::send (const iovec iov[], size_t n, const ACE_Addr &addr, int flags) const @@ -133,7 +133,7 @@ ACE_SOCK_Dgram::send (const ACE_IO_Vector_Base iov[], ACE_TRACE ("ACE_SOCK_Dgram::send"); msghdr send_msg; - send_msg.msg_iov = (ACE_IO_Vector_Base *) iov; + send_msg.msg_iov = (iovec *) iov; send_msg.msg_iovlen = n; #if defined (ACE_HAS_SOCKADDR_MSG_NAME) send_msg.msg_name = (struct sockaddr *) addr.get_addr (); @@ -154,11 +154,11 @@ ACE_SOCK_Dgram::send (const ACE_IO_Vector_Base iov[], return ACE_OS::sendmsg (this->get_handle (), &send_msg, flags); } -// Recv an ACE_IO_Vector_Base of size N to ADDR as a datagram (connectionless +// Recv an iovec of size N to ADDR as a datagram (connectionless // version). ssize_t -ACE_SOCK_Dgram::recv (ACE_IO_Vector_Base iov[], +ACE_SOCK_Dgram::recv (iovec iov[], size_t n, ACE_Addr &addr, int flags) const @@ -166,7 +166,7 @@ ACE_SOCK_Dgram::recv (ACE_IO_Vector_Base iov[], ACE_TRACE ("ACE_SOCK_Dgram::recv"); msghdr recv_msg; - recv_msg.msg_iov = (ACE_IO_Vector_Base *) iov; + recv_msg.msg_iov = (iovec *) iov; recv_msg.msg_iovlen = n; #if defined (ACE_HAS_SOCKADDR_MSG_NAME) recv_msg.msg_name = (struct sockaddr *) addr.get_addr (); @@ -191,11 +191,11 @@ ACE_SOCK_Dgram::recv (ACE_IO_Vector_Base iov[], #else /* ACE_HAS_MSG */ -// Send an ACE_IO_Vector_Base of size N to ADDR as a datagram (connectionless +// Send an iovec of size N to ADDR as a datagram (connectionless // version). ssize_t -ACE_SOCK_Dgram::send (const ACE_IO_Vector_Base iov[], +ACE_SOCK_Dgram::send (const iovec iov[], size_t n, const ACE_Addr &addr, int flags) const @@ -239,11 +239,11 @@ ACE_SOCK_Dgram::send (const ACE_IO_Vector_Base iov[], return result; } -// Recv an ACE_IO_Vector_Base of size N to ADDR as a datagram (connectionless +// Recv an iovec of size N to ADDR as a datagram (connectionless // version). ssize_t -ACE_SOCK_Dgram::recv (ACE_IO_Vector_Base iov[], +ACE_SOCK_Dgram::recv (iovec iov[], size_t n, ACE_Addr &addr, int flags) const |