.dll .so 복사 자동화 완료

This commit is contained in:
2025-04-28 11:25:53 +09:00
parent f76e1b9a5d
commit 41c75b9dca
15 changed files with 165 additions and 69 deletions

View File

@@ -5,10 +5,12 @@
int main() {
Chattr::TCPSocket sock;
sock.init(AF_INET6);
sock.init(AF_INET);
Chattr::Address serveraddr(AF_INET6, "::1", 9010);
Chattr::Address serveraddr(AF_INET, "localhost", 9011);
sock.connect(serveraddr);
spdlog::info("Connection established from {}, {}", sock, (std::string)serveraddr);
sock.send("Hello, World!", 14, 0);
sleep(100);
}