mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-28 15:34:16 +00:00
Odd Issues
This commit is contained in:
parent
eca6ca8d31
commit
8dde833b6f
@ -30,6 +30,7 @@ else:
|
|||||||
api_ip = sys.argv[2]
|
api_ip = sys.argv[2]
|
||||||
api_port = sys.argv[3]
|
api_port = sys.argv[3]
|
||||||
|
|
||||||
|
print api_ip, api_port
|
||||||
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
|
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
|
||||||
s.connect((api_ip,int(api_port)))
|
s.connect((api_ip,int(api_port)))
|
||||||
s.send(json.dumps({"command":api_command[0],"parameter":api_command[1]}))
|
s.send(json.dumps({"command":api_command[0],"parameter":api_command[1]}))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user