|
Monero
|
the connection templated-class for one peer connection More...
#include <boost/asio/post.hpp>#include <boost/foreach.hpp>#include <boost/uuid/random_generator.hpp>#include <boost/chrono.hpp>#include <boost/utility/value_init.hpp>#include <boost/asio/bind_executor.hpp>#include <boost/asio/deadline_timer.hpp>#include <boost/date_time/posix_time/posix_time.hpp>#include <boost/thread/condition_variable.hpp>#include <boost/make_shared.hpp>#include <boost/thread.hpp>#include "warnings.h"#include "string_tools_lexical.h"#include "misc_language.h"#include <sstream>#include <iomanip>#include <algorithm>#include <functional>#include <random>

Go to the source code of this file.
Namespaces | |
| namespace | epee |
| TODO: (mj-xmr) This will be reduced in an another PR. | |
| namespace | epee::net_utils |
Macros | |
| #define | MONERO_DEFAULT_LOG_CATEGORY "net" |
| #define | AGGRESSIVE_TIMEOUT_THRESHOLD 120 |
| #define | NEW_CONNECTION_TIMEOUT_LOCAL 1200000 |
| #define | NEW_CONNECTION_TIMEOUT_REMOTE 10000 |
| #define | DEFAULT_TIMEOUT_MS_LOCAL 1800000 |
| #define | DEFAULT_TIMEOUT_MS_REMOTE 300000 |
| #define | TIMEOUT_EXTRA_MS_PER_BYTE 0.2 |
Functions | |
| template<typename T> | |
| T & | epee::net_utils::check_and_get (std::shared_ptr< T > &ptr) |
| epee::net_utils::catch (const std::exception &e) | |
| epee::net_utils::catch (...) | |
the connection templated-class for one peer connection
| #define AGGRESSIVE_TIMEOUT_THRESHOLD 120 |
| #define DEFAULT_TIMEOUT_MS_LOCAL 1800000 |
| #define DEFAULT_TIMEOUT_MS_REMOTE 300000 |
| #define MONERO_DEFAULT_LOG_CATEGORY "net" |
| #define NEW_CONNECTION_TIMEOUT_LOCAL 1200000 |
| #define NEW_CONNECTION_TIMEOUT_REMOTE 10000 |
| #define TIMEOUT_EXTRA_MS_PER_BYTE 0.2 |