iocp 구현하기
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user