iocp 구현하기

This commit is contained in:
2025-05-31 03:19:58 +09:00
parent 466a80f02b
commit a65483a9c3
55 changed files with 608 additions and 683 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
namespace Socket {
namespace Network {
struct Address {
Address();
@@ -14,8 +14,9 @@ struct Address {
void setType(int type);
operator std::string();
std::uint16_t getPort();
std::uint16_t getPort() const;
std::uint32_t family;
union {
struct sockaddr addr;
struct sockaddr_in addr_in;