[−][src]Function wasi::sock_send
pub unsafe fn sock_send(
fd: Fd,
si_data: CiovecArray,
si_flags: Siflags
) -> Result<Size>
Send a message on a socket.
Note: This is similar to send
in POSIX, though it also supports writing
the data from multiple buffers in the manner of writev
.
Parameters
si_data
- List of scatter/gather vectors to which to retrieve datasi_flags
- Message flags.
Return
so_datalen
- Number of bytes transmitted.