#include "../shared/ReplyToClient.h" #include "../shared/CommandDispatcher.h" #include "../shared/NewConnections.h" #include "../shared/GlobalConfigFile.h" #include "../shared/LogFile.h" #include "ProxyMainLoop.h" int main(int argc, char *argv[]) { if (!addConfigItemsFromCommandLine(argv + 1)) { return 1; } configItemsComplete(); initReplyToClient(rtcLiteralSerializer); CommandDispatcher *commandDispatcher = CommandDispatcher::getInstance(); InputListener clientListener(commandDispatcher->getInput(), commandDispatcher->getInputCallbackId()); ProxyMainLoop mainLoop; LogFile::primary().setShowClose(false); // Start listening to new sockets now, after the other modules have // had time to configure themselves. NewConnections newConnections(&clientListener, 8887, false); while (true) sleep(60); }