todo: iocp recv안되는 문제 해결하기
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user