ENet.cpp 155 B

12345678910
  1. #define ENET_IMPLEMENTATION
  2. #include "network/ENet.h"
  3. ENet::~ENet() {
  4. enet_deinitialize();
  5. }
  6. bool ENet::init() {
  7. return enet_initialize() != 0;
  8. }