diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-15 14:41:47 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-15 14:41:47 +0100 |
commit | c0424e7a55250705579ee64c269892677fa86adf (patch) | |
tree | 59f15a90bc14dffbecd139043420077a446c6d8e /modules/io/examples/echo.hpp | |
parent | b08872bc9a475559491659f5fea8f45a063cf1bf (diff) |
async,io: Fixed immediate issues in async and built a basic io
echo_server
Diffstat (limited to 'modules/io/examples/echo.hpp')
-rw-r--r-- | modules/io/examples/echo.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/io/examples/echo.hpp b/modules/io/examples/echo.hpp index 2201457..4eb8084 100644 --- a/modules/io/examples/echo.hpp +++ b/modules/io/examples/echo.hpp @@ -3,6 +3,7 @@ struct message { std::array<uint8_t, 256> data; uint64_t already_read = 0; + uint64_t already_written = 0; }; constexpr std::string_view message_content = "Hello! This is an echo msg."; |