5 USES ServerLoop
,NetAddr
,SysUtils
,DHT
,dhtWebBoot
;
11 const opt
='-test-dht';
12 const opt2
='-test-boot';
17 assert(OptParamCount(oi
)=1,opt
+'(rcpt:tNetAddr)');
19 writeln('TestDHT: rcpt '+paramstr(oi
+1));
20 DHT
.NodeBootstrap(addr
);
24 assert(OptParamCount(oi
)=1,opt2
+'(url)');
25 Bootstrap(paramstr(oi
+1));