Kea: fd_share.h File Reference

| Kea 2.2.0

Namespaces | Functions | Variables
fd_share.h File Reference

Support to transfer file descriptors between processes. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces
namespace | isc
| Defines the logger used by the top-level component of kea-lfc.
namespace | isc::util
namespace | isc::util::io

## Functions
int | isc::util::io::recv_fd (const int sock)
| Receives a file descriptor. More...
int | isc::util::io::send_fd (const int sock, const int fd)
| Sends a file descriptor. More...

## Variables
const int | isc::util::io::FD_OTHER_ERROR = -1
const int | isc::util::io::FD_SYSTEM_ERROR = -2

## Detailed Description

Support to transfer file descriptors between processes.

Todo:
  This interface is very C-ish. Should we have some kind of exceptions?

Definition in file fd_share.h.