[ace-users] ACE_OS::sendv() behavior question concerning partial writes

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Fri Aug 24 11:40:03 CDT 2007


Hi Olivier,

> It does not say much but here it is:
>
> The readv and writev functions can be used with any descriptor, not just so=
> ckets. Also, writev is an atomic operation. For a record-based protocol suc=
> h as UDP, one call to writev generates a single UDP datagram.
>
> After having read the links that you have provided, I guess that "atomic op=
> eration" refers to what happens when calling writev with a datagram socket.

I agree with your assessment!

Thanks,

        Doug
-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list