asio¶
The contents of this module can be included with the header
hpx/modules/asio.hpp
. These headers may be used by user-code but are not
guaranteed stable (neither header location nor contents). You are using these at
your own risk. If you wish to use non-public functionality from a module we
strongly suggest only including the module header hpx/modules/asio.hpp
, not
the particular header in which the functionality you would like to use is
defined. See Public API for a list of names that are part of the public
HPX API.
-
namespace
hpx
-
namespace
util
Typedefs
-
using
endpoint_iterator_type
= asio::ip::tcp::resolver::iterator¶
Functions
-
asio::ip::tcp::endpoint
resolve_hostname
(std::string const &hostname, std::uint16_t port, asio::io_context &io_service)¶
-
endpoint_iterator_type
connect_begin
(std::string const &address, std::uint16_t port, asio::io_context &io_service)¶
-
template<typename
Locality
>
endpoint_iterator_typeconnect_begin
(Locality const &loc, asio::io_context &io_service)¶ Returns an iterator which when dereferenced will give an endpoint suitable for a call to connect() related to this locality.
-
endpoint_iterator_type
connect_end
()¶
-
endpoint_iterator_type
accept_begin
(std::string const &address, std::uint16_t port, asio::io_context &io_service)¶
-
template<typename
Locality
>
endpoint_iterator_typeaccept_begin
(Locality const &loc, asio::io_context &io_service)¶ Returns an iterator which when dereferenced will give an endpoint suitable for a call to accept() related to this locality.
-
endpoint_iterator_type
accept_end
()¶
-
using
-
namespace
-
namespace
hpx
-
namespace
util
-
struct
map_hostnames
¶ Public Types
-
typedef util::function_nonser<std::string(std::string const&)>
transform_function_type
¶
Public Functions
-
map_hostnames
(bool debug = false)¶
-
void
use_transform
(transform_function_type const &f)¶
-
typedef util::function_nonser<std::string(std::string const&)>
-
struct
-
namespace