int main() { try { SocketAcceptor server; server.start(); } catch (std::exception& e) { std::cerr << e.what() << std::endl; } return 0; }