UnixDatagram: please support vectored send #68612
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
The
UnixDatagram
type providessend
andsend_to
methods, but does not provide a vectored send operation. Such an operation is particularly helpful for datagrams, where separate send operations result in separate datagrams; a vectored send allows sending data from multiple buffers in a single datagram.Given that
UnixDatagram
only runs on UNIX, wherewritev
works just fine on a socket, such an operation could usewritev
; alternatively, this could usesendmsg
, which supports supplying an iovec.sendmsg
would also allow a vectoredsend_to
operation.The text was updated successfully, but these errors were encountered: