Apache Mesos
Namespaces | Functions
net.hpp File Reference
#include <set>
#include <string>
#include <vector>
#include <stout/error.hpp>
#include <stout/foreach.hpp>
#include <stout/nothing.hpp>
#include <stout/os.hpp>
#include <stout/stringify.hpp>
#include <stout/try.hpp>
#include <stout/windows.hpp>

Go to the source code of this file.

Namespaces

 net
 

Functions

struct addrinfo net::createAddrInfo (int socktype, int family, int flags)
 
Error net::GaiError (int error)
 
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)