forked from sixonionpotatoes/commons
add server/client to namespace commons
This commit is contained in:
@@ -7,7 +7,10 @@
|
||||
#include "protocol.hpp"
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
namespace commons {
|
||||
|
||||
using boost::asio::ip::udp;
|
||||
using namespace protocol;
|
||||
|
||||
class server {
|
||||
public:
|
||||
@@ -55,3 +58,5 @@ class server {
|
||||
enum { max_length = 1024 };
|
||||
char data_[max_length];
|
||||
};
|
||||
|
||||
} // namespace commons
|
||||
|
||||
Reference in New Issue
Block a user