#include "Communication/TcpClient.h"#include "Util/system.h"#include "Util/os.h"#include "Communication/TcpServer.h"#include <cerrno>#include <boost/asio.hpp>#include <sys/socket.h>Classes | |
| struct | conscience_core::communication::ReadUntilWithTimeoutContext |
Namespaces | |
| conscience_core | |
| conscience_core::communication | |
Macros | |
| #define | MAX_SEC_TIME_TCP_FOR_RECV_SEND 40 |
| #define | TCP_MESSAGE_END_MARK "\n-__cst__-\n" |
Typedefs | |
| using | Executor = boost::asio::io_context::executor_type |
| using | Strand = boost::asio::strand< Executor > |
Functions | |
| TcpClient::ExistingSocket | conscience_core::communication::createSocketFromIpAndPort (const string &ipAddress, unsigned int port, AsioContext *asioContext) |
| static size_t | conscience_core::communication::readUntilWithTimeout (ptr< TcpClient::AsioState > st, boost::asio::streambuf &buffers, const std::string &boundary, unsigned long long timeoutMillis) |
| #define MAX_SEC_TIME_TCP_FOR_RECV_SEND 40 |
| #define TCP_MESSAGE_END_MARK "\n-__cst__-\n" |
| using Executor = boost::asio::io_context::executor_type |