ThomasV
13 years ago
2 changed files with 12 additions and 1 deletions
@ -0,0 +1,11 @@ |
|||
#!/usr/bin/env python |
|||
|
|||
import socket, time, interface |
|||
|
|||
i = interface.AsynchronousInterface('ecdsa.org', 50001) |
|||
i.start() |
|||
i.send([('server.peers.subscribe',[])]) |
|||
|
|||
while True: |
|||
r = i.responses.get(True, 100000000000) |
|||
print r.get('result') |
Loading…
Reference in new issue