Kea 2.5.8
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.
 
int isc::util::io::send_fd (const int sock, const int fd)
 Sends a file descriptor.
 

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.