Toolbox snapshot
The Reactive C++ Toolbox
|
#include <toolbox/net/Socket.hpp>
#include <toolbox/sys/Time.hpp>
#include <toolbox/util/TaskQueue.hpp>
#include <cassert>
#include <future>
Go to the source code of this file.
Classes | |
class | toolbox::net::Resolver |
Namespaces | |
namespace | toolbox |
namespace | toolbox::net |
Typedefs | |
using | toolbox::net::AddrInfoFuture = std::future< AddrInfoPtr > |
Functions | |
template<typename EndpointT > | |
EndpointT | toolbox::net::get_endpoint (AddrInfoFuture &future) |
Wait for future and convert result to endpoint. | |
template<typename ResultT > | |
bool | toolbox::net::is_ready (std::future< ResultT > &future) |
Returns true if future is ready. | |