Created
December 5, 2016 20:54
-
-
Save fuzzy/6cde2f2f8d1050041bfdc46c2be09ebf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import time | |
import socket | |
if __name__ == '__main__': | |
st = int(time.time()) | |
while 1: | |
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
sock.connect(('relay-vip.phl.corp.theplatform.com', 2003)) | |
sock.send("10s.phl.fuzzy.py-client 1 %d\n" % st) | |
print("10s.phl.fuzzy.py-client 1 %d" % st) | |
st -= 10 | |
time.sleep(2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment