|
ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
|
实现TCP接受循环、会话创建和数据分发。 More...
#include "tools/serialize/pack.h"#include "net/tcp/asio_tcp.h"#include "net/net_session.h"#include "net/asio_timer.h"#include "tools/log/nlog.h"#include <array>#include <future>#include <utility>#include <vector>Functions | |
| bool | ngl::tcp::should_ignore_socket_close_error (const basio_errorcode &ec) |
| bool | ngl::tcp::should_ignore_read_error (const basio_errorcode &ec) |
| bool | ngl::tcp::should_ignore_acceptor_close_error (const basio_errorcode &ec) |
| bool | ngl::tcp::is_optional_ipv6_acceptor_error (const basio_errorcode &ec) |
| std::shared_ptr< basio_tcpacceptor > | ngl::tcp::create_acceptor (basio_ioservice &aioservice, const basio_iptcpendpoint &aendpoint) |
Variables | |
| constexpr int32_t | ngl::tcp::tcp_connect_interval_ms |
实现TCP接受循环、会话创建和数据分发。
|
constexpr |