This commit is contained in:
Gav Wood 2014-01-22 10:01:39 -05:00
parent 3b9040b4a1
commit 2b13a04f49

View File

@ -49,10 +49,12 @@ int peerTest(int argc, char** argv)
if (!remoteHost.empty())
pn.connect(remoteHost, remotePort);
while (true)
for (int i = 0; ; ++i)
{
usleep(100000);
pn.process();
if (!(i % 10))
pn.pingAll();
}
return 0;