자세 조정
This commit is contained in:
@@ -5,14 +5,17 @@ namespace Chattr {
|
||||
|
||||
struct Socket_Init {
|
||||
public:
|
||||
Socket_Init() {}
|
||||
Socket_Init(std::int32_t domain, std::int32_t type, std::int32_t protocol);
|
||||
~Socket_Init();
|
||||
|
||||
Socket_Init(const SOCKET& socket);
|
||||
Socket_Init(const Socket_Init&) = delete;
|
||||
Socket_Init& operator=(const Socket_Init&) = delete;
|
||||
|
||||
SOCKET get() const;
|
||||
operator SOCKET() const;
|
||||
private:
|
||||
bool valid_ = false;
|
||||
SOCKET sock_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user