mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-22 07:11:47 +02:00
netdb.cpp:
* explicitly define replyIdent Daemon.cpp: * wait for 1 second before checking if transports are bound to wait for transports to bind
This commit is contained in:
parent
d7653769b4
commit
b8a205f755
2 changed files with 7 additions and 3 deletions
|
@ -257,6 +257,7 @@ namespace i2p
|
|||
bool ssu; i2p::config::GetOption("ssu", ssu);
|
||||
LogPrint(eLogInfo, "Daemon: starting Transports");
|
||||
i2p::transport::transports.Start(ntcp, ssu);
|
||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||
if (i2p::transport::transports.IsBoundNTCP() || i2p::transport::transports.IsBoundSSU()) {
|
||||
LogPrint(eLogInfo, "Daemon: Transports started");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue