Better support for Round Robin DNS, related https://github.com/fireice-uk/xmr-stak-cpu/pull/220
This commit is contained in:
parent
66d3e96a1a
commit
986aee4297
2 changed files with 24 additions and 3 deletions
|
@ -22,6 +22,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <ctime>
|
||||
#include <memory>
|
||||
|
||||
|
||||
|
@ -43,6 +44,8 @@ Network::Network(const Options *options) :
|
|||
m_accepted(0),
|
||||
m_rejected(0)
|
||||
{
|
||||
std::srand(std::time(0) ^ (uintptr_t) this);
|
||||
|
||||
Workers::setListener(this);
|
||||
m_agent = userAgent();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue