21 lines
301 B
C++
21 lines
301 B
C++
#pragma once
|
|
#include "Socket/TCPSocket.hpp"
|
|
#include <vector>
|
|
|
|
namespace Chattr {
|
|
class Session {
|
|
public:
|
|
Session();
|
|
~Session();
|
|
|
|
bool init();
|
|
void destruct();
|
|
|
|
int send();
|
|
int recv();
|
|
|
|
private:
|
|
struct std::vector<Chattr::TCPSocket> tcpSock_;
|
|
struct std::vector<Chattr::Socket> udpSock_;
|
|
};
|
|
} |