Reorganize project structure: move sources to src/, update Makefile, add header symlinks
This commit is contained in:
1 parent
9eab53179d
commit
f2c10dcbf9
45 files changed
+1612
-1825
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ CONTROL_ERR_NONE = 0
|
||||
CONTROL_ERR_INVALID_CMD = 1
|
||||
CONTROL_ERR_INTERNAL = 2
|
||||
|
||||
def send_command(host='127.0.0.1', port=5555, command=CONTROL_CMD_GET_STATS, sequence=1):
|
||||
def send_command(host='192.168.29.117', port=5555, command=CONTROL_CMD_GET_STATS, sequence=1):
|
||||
"""Send a control command and receive response"""
|
||||
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
sock.settimeout(2.0)
|
||||
|
||||
Reference in new issue
Block a user