DescriptorUtils_noexcept.cpp File Reference

#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 Documentation

#define CMSG_LEN ( size   )     (sizeof(struct cmsghdr) + (size))

#define CMSG_SPACE ( size   )     (sizeof(struct cmsghdr) + (size))


doxygen