Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
network.cppm
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
47export module kcenon.network;
48
49// Import and re-export dependent modules
50export import kcenon.common;
51export import kcenon.thread;
52
53// Tier 1: Core network infrastructure
54export import :core;
55
56// Tier 2: Protocol implementations
57export import :tcp;
58export import :udp;
59
60// Tier 3: Secure protocols (optional - requires OpenSSL)
61export import :ssl;
62
63// =============================================================================
64// Module-Level API
65// =============================================================================
66
67export namespace kcenon::network {
68
73 static constexpr int major = 0;
74 static constexpr int minor = 1;
75 static constexpr int patch = 0;
76 static constexpr int tweak = 0;
77 static constexpr const char* string = "0.1.0.0";
78 static constexpr const char* module_name = "kcenon.network";
79};
80
89kcenon::common::VoidResult initialize();
90
99kcenon::common::VoidResult shutdown();
100
105bool is_initialized() noexcept;
106
111constexpr const char* version() noexcept {
113}
114
115} // namespace kcenon::network
Main namespace for all Network System components.
constexpr const char * version() noexcept
Get the network system version string.
Definition network.cppm:111
bool is_initialized()
Check if network system is initialized.
VoidResult initialize()
Initialize the network system with default production configuration.
VoidResult shutdown()
Shutdown the network system.
Version information for network_system module.
Definition network.cppm:72
static constexpr int tweak
Definition network.cppm:76
static constexpr int patch
Definition network.cppm:75
static constexpr int minor
Definition network.cppm:74
static constexpr int major
Definition network.cppm:73
static constexpr const char * module_name
Definition network.cppm:78
static constexpr const char * string
Definition network.cppm:77