reject to divide project and change protocol -> packettype
using enum class c++11