|
|
@ -1,6 +1,6 @@ |
|
|
|
#include <iostream> |
|
|
|
#include <iostream> |
|
|
|
|
|
|
|
#include <thread> |
|
|
|
#include <cryptopp/integer.h> |
|
|
|
#include <cryptopp/integer.h> |
|
|
|
#include <boost/thread.hpp> |
|
|
|
|
|
|
|
#include "Log.h" |
|
|
|
#include "Log.h" |
|
|
|
#include "base64.h" |
|
|
|
#include "base64.h" |
|
|
|
#include "Transports.h" |
|
|
|
#include "Transports.h" |
|
|
@ -20,7 +20,7 @@ int main( int, char** ) |
|
|
|
i2p::transports.Start (); |
|
|
|
i2p::transports.Start (); |
|
|
|
i2p::tunnel::tunnels.Start (); |
|
|
|
i2p::tunnel::tunnels.Start (); |
|
|
|
|
|
|
|
|
|
|
|
boost::this_thread::sleep(boost::posix_time::seconds(1000)); |
|
|
|
std::this_thread::sleep_for (std::chrono::seconds(10000)); |
|
|
|
i2p::tunnel::tunnels.Stop (); |
|
|
|
i2p::tunnel::tunnels.Stop (); |
|
|
|
i2p::transports.Stop (); |
|
|
|
i2p::transports.Stop (); |
|
|
|
i2p::data::netdb.Stop (); |
|
|
|
i2p::data::netdb.Stop (); |
|
|
|