initial commit
[raggin.git] / server_main.cpp
blob7dd80f0484ea018c14e055d2520be287ba5cd107
1 #include <iostream>
2 #include <exception>
3 #include "src/server/server.hpp"
4 #include "src/log.hpp"
6 using namespace std;
9 int main()
10 try
12 using namespace raggin::server;
14 init_log();
16 server srv("127.0.0.1", 1337);
17 srv.run();
19 cin.get();
21 catch(exception& ex)
23 cerr << ex.what() << endl;
24 cin.get();