todo: iocp recv안되는 문제 해결하기

This commit is contained in:
2025-06-04 02:33:00 +09:00
parent 3f052a5f7f
commit c0e0279e5c
15 changed files with 363 additions and 157 deletions

View File

@@ -1,5 +1,9 @@
#pragma once
#include <openssl/bio.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
namespace Network {
struct Address {
@@ -8,9 +12,6 @@ struct Address {
void zeroFill();
void set(int type, gsl::czstring presentationAddr, std::uint16_t port);
void set(int type, in_addr_t addr, std::uint16_t port);
void set(int type, in_addr addr, std::uint16_t port);
void set(int type, in6_addr addr, std::uint16_t port);
void setType(int type);
operator std::string();
@@ -23,6 +24,8 @@ struct Address {
struct sockaddr_in6 addr_in6;
};
socklen_t length;
BIO_ADDR* bio_addr_info;
};
} // namespace Chattr