scripts: Add a (hopefully) better goal_src updating script (#1769)

* scripts: cleanup scripts directory some more

* stash, getting there

* stash again

* closer!

* it works! decently....cleanup time and add some extra features

* minor cleanup
This commit is contained in:
Tyler Wilding
2022-08-19 11:30:07 -04:00
committed by GitHub
parent 375e9c7713
commit b3c58d2247
22 changed files with 1043 additions and 7653 deletions
+15
View File
@@ -0,0 +1,15 @@
import socket
import struct
clientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM);
clientSocket.connect(("127.0.0.1", 8181))
print(clientSocket)
data = clientSocket.recv(1024)
print(data.decode())
form = "(:status)"
header = struct.pack('<II', len(form), 10)
clientSocket.sendall(header + form.encode())