일단 iocp는 완성한 듯 윈도우에서만 되면 될 듯
This commit is contained in:
@@ -8,7 +8,7 @@ int main() {
|
||||
Chattr::TCPSocket sock;
|
||||
sock.init(AF_INET6);
|
||||
|
||||
Chattr::Address serveraddr(AF_INET6, "fd8a:5f:3adb:774d:dfae:983f:2e7a:ffba", 9010);
|
||||
Chattr::Address serveraddr(AF_INET6, "::1", 9011);
|
||||
|
||||
sock.connect(serveraddr);
|
||||
spdlog::info("Connection established from {}", (std::string)serveraddr);
|
||||
@@ -27,5 +27,5 @@ int main() {
|
||||
sock.recv(&packet.serialized, 1500, 0);
|
||||
packet.convToH();
|
||||
|
||||
// sleep(1000000);
|
||||
sleep(1000000);
|
||||
}
|
||||
Reference in New Issue
Block a user