일단 bind까지 구현 완료료
This commit is contained in:
@@ -8,10 +8,12 @@ public:
|
||||
Socket_Init(std::int32_t domain, std::int32_t type, std::int32_t protocol);
|
||||
~Socket_Init();
|
||||
|
||||
operator SOCKET() const;
|
||||
|
||||
void bind(int __fd, const sockaddr *__addr, socklen_t __len);
|
||||
|
||||
Socket_Init(const Socket_Init&) = delete;
|
||||
Socket_Init& operator=(const Socket_Init&) = delete;
|
||||
|
||||
operator SOCKET() const;
|
||||
private:
|
||||
bool valid_ = false;
|
||||
SOCKET sock_ = INVALID_SOCKET;
|
||||
|
||||
Reference in New Issue
Block a user