#include "blocxx/BLOCXX_config.h"#include "blocxx/DescriptorUtils_noexcept.hpp"#include "blocxx/AutoDescriptor.hpp"#include <cstring>#include <sys/types.h>#include <sys/socket.h>#include <sys/uio.h>Go to the source code of this file.
Namespaces | |
| namespace | BLOCXX_NAMESPACE |
| Taken from RFC 1321. | |
Defines | |
| #define | CMSG_LEN(size) (sizeof(struct cmsghdr) + (size)) |
| #define | CMSG_SPACE(size) (sizeof(struct cmsghdr) + (size)) |
Functions | |
| int | BLOCXX_NAMESPACE::passDescriptor (Descriptor streamPipe, Descriptor descriptor, ProcId targetProcess=0) |
Sends a Descriptor to the peer. | |
| AutoDescriptor | BLOCXX_NAMESPACE::receiveDescriptor (Descriptor streamPipe, char *errbuf, size_t bufsz) |
Gets a Descriptor from the peer. | |
| #define CMSG_LEN | ( | size | ) | (sizeof(struct cmsghdr) + (size)) |
Referenced by BLOCXX_NAMESPACE::passDescriptor(), and BLOCXX_NAMESPACE::receiveDescriptor().
| #define CMSG_SPACE | ( | size | ) | (sizeof(struct cmsghdr) + (size)) |
Referenced by BLOCXX_NAMESPACE::passDescriptor(), and BLOCXX_NAMESPACE::receiveDescriptor().