msghdr Struct Reference

#include <stdapis/sys/socket.h>

struct msghdr

Detailed Description

Message header for recvmsg and sendmsg calls. Used value-result for recvmsg, value only for sendmsg.

Member Attribute Documentation

msg_control

void *msg_control

ancillary data, see below

msg_controllen

socklen_t msg_controllen

ancillary data buffer len

msg_flags

intmsg_flags

flags on received message

msg_iov

struct iovec *msg_iov

scatter or gather array

msg_iovlen

intmsg_iovlen

x elements in msg_iov

msg_name

void *msg_name

optional address

msg_namelen

socklen_t msg_namelen

size of address