Apache Mesos
Namespaces | Functions
net.hpp File Reference
#include <unistd.h>
#include <set>
#include <string>
#include <stout/error.hpp>
#include <stout/nothing.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Namespaces

 net
 

Functions

struct addrinfo net::createAddrInfo (int socktype, int family, int flags)
 
Try< std::string > net::getHostname (const IP &ip)
 
Try< IP > net::getIP (const std::string &hostname, int family=AF_UNSPEC)
 
Try< std::set< std::string > > net::links ()
 
Try< std::string > net::hostname ()
 
Try< Nothingnet::setHostname (const std::string &hostname)