BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Namespaces | Functions
asio.cpp File Reference
#include <fc/asio.hpp>
#include <fc/thread/thread.hpp>
#include <boost/thread.hpp>
#include <fc/log/logger.hpp>
#include <fc/exception/exception.hpp>
#include <boost/scope_exit.hpp>
#include <algorithm>
#include <thread>

Go to the source code of this file.

Namespaces

 fc
 
 fc::asio
 defines fc wrappers for boost::asio functions.
 
 fc::asio::detail
 internal implementation types/methods for fc::asio
 
 fc::asio::tcp
 
 fc::asio::udp
 

Functions

void fc::asio::detail::read_write_handler_ec (promise< size_t > *p, boost::system::error_code *oec, const boost::system::error_code &ec, size_t bytes_transferred)
 
void fc::asio::detail::error_handler (const promise< void >::ptr &p, const boost::system::error_code &ec)
 
void fc::asio::detail::error_handler_ec (promise< boost::system::error_code > *p, const boost::system::error_code &ec)
 
template<typename EndpointType , typename IteratorType >
void fc::asio::detail::resolve_handler (const typename promise< std::vector< EndpointType > >::ptr &p, const boost::system::error_code &ec, IteratorType itr)
 
boost::asio::io_service & fc::asio::default_io_service ()
 
std::vector< endpoint > fc::asio::tcp::resolve (const std::string &hostname, const std::string &port)
 
std::vector< endpoint > fc::asio::udp::resolve (resolver &r, const std::string &hostname, const std::string &port)
 resolve all udp::endpoints for hostname:port More...