I2P: End-to-End encrypted and anonymous Internet https://i2pd.website/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
330 B

#include <thread>
#include <stdlib.h>
#include "Daemon.h"
int main( int argc, char* argv[] )
{
Daemon.init(argc, argv);
11 years ago
if (Daemon.start())
{
11 years ago
while (Daemon.running)
{
//TODO Meeh: Find something better to do here.
std::this_thread::sleep_for (std::chrono::seconds(1));
}
}
11 years ago
Daemon.stop();
return EXIT_SUCCESS;
}