Linux Socket Programming by Example - Warren Gay

< BACKCONTINUE >
159231153036212041242100244042145096184016146223183074028121223008110130051191076029126198166

I/O-Related Structures

iovec

						
#include <sys/uio.h>

struct iovec {
    ptr_t  iov_base;           /* Starting address */
    size_t iov_len;            /* Length in bytes */
};

					

msghdr

						
struct msghdr {
    void         *msg_name;
    socklen_t    msg_namelen;
    struct iovec *msg_iov;
    size_t       msg_iovlen;
    void         *msg_control;
    size_t       msg_controllen;
    int          msg_flags;
};

					

cmsghdr

						
struct cmsghdr {
    socklen_t cmsg_len;
    int       cmsg_level;
    int       cmsg_type;
/*  u_char    cmsg_data[]; */
};

					
< BACKCONTINUE >

Index terms contained in this section

cmsqhdr structures
I/O
      structures
iovec structures
msqhdr structures
structures
      cmsqhdr
      I/O
      msqhdr
strustures
      iovec