|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
#include "kcenon/network/detail/protocol/tcp.h"#include "internal/unified/adapters/tcp_connection_adapter.h"#include "internal/unified/adapters/tcp_listener_adapter.h"#include <chrono>#include <random>#include <sstream>
Go to the source code of this file.
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::network |
| Main namespace for all Network System components. | |
| namespace | kcenon::network::protocol |
| namespace | kcenon::network::protocol::tcp |
Functions | |
| auto | kcenon::network::protocol::tcp::create_connection (std::string_view id="") -> std::unique_ptr< unified::i_connection > |
| Creates a TCP connection (not yet connected) | |
| auto | kcenon::network::protocol::tcp::connect (const unified::endpoint_info &endpoint, std::string_view id="") -> std::unique_ptr< unified::i_connection > |
| Creates and connects a TCP connection in one call. | |
| auto | kcenon::network::protocol::tcp::connect (std::string_view url, std::string_view id="") -> std::unique_ptr< unified::i_connection > |
| Creates and connects a TCP connection using URL format. | |
| auto | kcenon::network::protocol::tcp::create_listener (std::string_view id="") -> std::unique_ptr< unified::i_listener > |
| Creates a TCP listener (not yet listening) | |
| auto | kcenon::network::protocol::tcp::listen (const unified::endpoint_info &bind_address, std::string_view id="") -> std::unique_ptr< unified::i_listener > |
| Creates and starts a TCP listener in one call. | |
| auto | kcenon::network::protocol::tcp::listen (uint16_t port, std::string_view id="") -> std::unique_ptr< unified::i_listener > |
| Creates and starts a TCP listener on a specific port. | |