mirror of
https://github.com/open-goal/jak-project
synced 2026-08-19 14:03:38 -04:00
goalc: debug issues, nrepl is working again
This commit is contained in:
+11
-1
@@ -1,6 +1,16 @@
|
||||
import socket
|
||||
import time
|
||||
clientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM);
|
||||
clientSocket.connect(("127.0.0.1", 8181))
|
||||
print(clientSocket)
|
||||
num_sent = clientSocket.send(b'\x01\x02\x03\x04')
|
||||
data = clientSocket.recv(1024)
|
||||
print(data.decode())
|
||||
|
||||
form = "(repl-help)"
|
||||
|
||||
num_sent = clientSocket.send(b'\x0B\x00\x00\x00\x0A\x00\x00\x00' + form.encode())
|
||||
print("Sent {} bytes".format(num_sent))
|
||||
|
||||
# this shouldn't be necessary but...this is just a test script
|
||||
# might imply something is wrong in the C++ code!
|
||||
time.sleep(1000000)
|
||||
|
||||
Reference in New Issue
Block a user