working commit

This commit is contained in:
Олег Бородин
2026-05-05 11:37:10 +02:00
parent bd4df1e3da
commit eda9b8986b
62 changed files with 7546 additions and 476 deletions
+15 -2
View File
@@ -3,10 +3,23 @@
#include <string>
#include <cstring>
#include <interface.hpp>
#include <service.hpp>
#include <tservice.hpp>
#include <uxlogger.hpp>
int main(int argc, char** argv) {
TCPService service(1025);
auto bindRes = service.Bind();
if (!bindRes) {
uxlogger.Log("Bind error: " + bindRes.error());
return 1;
}
auto listenRes = service.Listen();
if (!listenRes) {
uxlogger.Log("Listen error: " + listenRes.error());
return 1;
}
return 0;
}