Apache Mesos
Namespaces | Functions | Variables
domain_sockets.hpp File Reference
#include <unistd.h>
#include <process/socket.hpp>
#include <stout/nothing.hpp>
#include <stout/option.hpp>
#include <stout/os/open.hpp>
#include <stout/posix/os.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::common
 

Functions

Try< process::network::unix::Socketmesos::internal::common::createDomainSocket (const std::string &path, int mode=DOMAIN_SOCKET_DEFAULT_MODE)
 

Variables

constexpr size_t mesos::internal::common::DOMAIN_SOCKET_MAX_PATH_LENGTH = 108
 
constexpr int mesos::internal::common::DOMAIN_SOCKET_DEFAULT_MODE = 0666