#include "ydi_server.h" #include #include #include #include #include namespace ydi::server { struct Service { std::optional context{ std::nullopt }; std::optional socket{ std::nullopt }; std::recursive_mutex mtx{}; }; std::optional service{ std::nullopt }; thread_local std::optional receiveThread{ std::nullopt }; void open(int port) { } }