tcp/udp 추가, todo:iocp openssl 지원하도록 업데이트하기
This commit is contained in:
18
include/transport/transport.h
Normal file
18
include/transport/transport.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "utils/thread_pool.h"
|
||||
|
||||
namespace happytanuki {
|
||||
|
||||
class Transport {
|
||||
public:
|
||||
Transport(utils::ThreadPool* tp);
|
||||
|
||||
void Send();
|
||||
void Recv();
|
||||
|
||||
private:
|
||||
utils::ThreadPool* tp_;
|
||||
};
|
||||
|
||||
} // namespace happytanuki
|
||||
Reference in New Issue
Block a user