1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 06:54:36 +00:00

Odd Issues

This commit is contained in:
setkeh 2013-06-19 00:41:55 +10:00
parent eca6ca8d31
commit 8dde833b6f

View File

@ -30,6 +30,7 @@ else:
api_ip = sys.argv[2]
api_port = sys.argv[3]
print api_ip, api_port
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
s.connect((api_ip,int(api_port)))
s.send(json.dumps({"command":api_command[0],"parameter":api_command[1]}))