mirror of
https://github.com/open-goal/jak-project
synced 2026-09-12 04:49:19 -04:00
common: rename repl_wrapper files
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import socket
|
||||
import struct
|
||||
from time import sleep
|
||||
|
||||
clientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM);
|
||||
clientSocket.connect(("127.0.0.1", 8181))
|
||||
print(clientSocket)
|
||||
@@ -11,5 +13,5 @@ form = "(:status)"
|
||||
header = struct.pack('<II', len(form), 10)
|
||||
|
||||
clientSocket.sendall(header + form.encode())
|
||||
|
||||
|
||||
sleep(1)
|
||||
clientSocket.sendall(header + form.encode())
|
||||
|
||||
Reference in New Issue
Block a user