Apache Mesos
Namespaces | Functions
socket.hpp File Reference
#include <array>
#include <errno.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <stout/error.hpp>
#include <stout/nothing.hpp>
#include <stout/try.hpp>
#include <stout/os/int_fd.hpp>
#include <stout/os/fcntl.hpp>

Go to the source code of this file.

Namespaces

 net
 

Functions

Try< int_fdnet::socket (int family, int type, int protocol)
 
bool net::is_restartable_error (int error)
 
bool net::is_retryable_error (int error)
 
bool net::is_inprogress_error (int error)
 
bool net::is_socket (int fd)
 
Try< std::array< int_fd, 2 > > net::socketpair (int family, int type, int protocol)