Advertisement
Guest User

main.cpp

a guest
Jul 5th, 2017
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include "Server.h"
  2. #include "Connection.h"
  3.  
  4.  
  5. int main(){
  6.     try{
  7.         boost::asio::io_service obj;
  8.         Server s(obj);
  9.         obj.run();
  10.     }
  11.     catch (std::exception& e){
  12.         std::cout << e.what() << std::endl;
  13.     }
  14.  
  15.     system("pause");
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement