goalc: debug issues, nrepl is working again

This commit is contained in:
Tyler Wilding
2022-04-26 23:32:43 -04:00
parent 1e45dddd6c
commit 6107b4124c
7 changed files with 65 additions and 47 deletions
+11 -1
View File
@@ -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)