Apache Mesos
Namespaces | Functions
network.hpp File Reference
#include <process/address.hpp>
#include <stout/net.hpp>
#include <stout/try.hpp>
#include <stout/os/socket.hpp>

Go to the source code of this file.




Try< int_fdprocess::network::accept (int_fd s)
Try< Nothingprocess::network::bind (int_fd s, const Address &address)
Try< Nothing, SocketErrorprocess::network::connect (int_fd s, const Address &address)
Try< Address > process::network::address (int_fd s)
 Returns the Address with the assigned ip and assigned port. More...
Try< Address > process::network::peer (int_fd s)
 Returns the peer's Address for the accepted or connected socket. More...