AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Offset     Contents

0     Pointer to address to be filled in
4     Size of address block
8     Pointer to array of buffer descriptors
12     Number of buffer descriptors in use
16     Pointer to ancillary data, if any
20     Size of ancillary data
24     Flags for received data

Or, in C:

struct msghdr {
struct sockaddr *msg_name;        /* optional address */
unsigned int     msg_namelen;     /* size of address */
struct iovec    *msg_iov;         /* scatter/gather array */
unsigned int     msg_iovlen;      /* # elements in msg_iov */
char            *msg_control;     /* ancillary data */
unsigned int     msg_controllen;  /* ancillary data buffer length */
int              msg_flags;       /* flags on received message */
};

This descriptor format was introduced with Internet 5.00 and should be used in preference to the obsolete msghdr used by Internet 4.xx.

[sh-index] Back to list of manuals