일단 서버구현 끝
This commit is contained in:
15
include/Socket/TCPSocket.hpp
Normal file
15
include/Socket/TCPSocket.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include "Socket.hpp"
|
||||
#include "precomp.hpp"
|
||||
|
||||
namespace Chattr {
|
||||
|
||||
class TCPSocket : public Socket {
|
||||
public:
|
||||
using Socket::init;
|
||||
void init(int domain);
|
||||
void listen(int __n);
|
||||
void accept(TCPSocket& newSock, Address& addr);
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user