|
Electroneum
|
Primarily for use with epee::net_utils::http_client.
More...
#include <socks_connect.h>
Public Member Functions | |
| boost::unique_future< boost::asio::ip::tcp::socket > | operator() (const std::string &remote_host, const std::string &remote_port, boost::asio::steady_timer &timeout) const |
Public Attributes | |
| boost::asio::ip::tcp::endpoint | proxy_address |
Primarily for use with epee::net_utils::http_client.
Definition at line 41 of file socks_connect.h.
| boost::unique_future< boost::asio::ip::tcp::socket > net::socks::connector::operator() | ( | const std::string & | remote_host, |
| const std::string & | remote_port, | ||
| boost::asio::steady_timer & | timeout | ||
| ) | const |
Creates a new socket, asynchronously connects to proxy_address, and requests a connection to remote_host on remote_port. Sets socket as closed if timeout is reached.
Definition at line 47 of file socks_connect.cpp.

| boost::asio::ip::tcp::endpoint net::socks::connector::proxy_address |
Definition at line 43 of file socks_connect.h.