Files
NP_Midterm/include/Socket/Socket_Init.hpp

19 lines
347 B
C++

#pragma once
#include "precomp.hpp"
namespace Chattr {
struct Socket_Init {
public:
Socket_Init(std::int32_t domain, std::int32_t type, std::int32_t protocol);
~Socket_Init();
Socket_Init(const Socket_Init&) = delete;
Socket_Init& operator=(const Socket_Init&) = delete;
SOCKET get() const;
private:
SOCKET sock_;
};
}