Commit b27593a8 authored by joliu's avatar joliu

对应测试智能体单元模块测试脚本

parent 4bf22d07
import socket
import sys
message = sys.argv[1]
# message = "controller&clear&niubi"
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("127.0.0.1", 3000))
s.sendall(message.encode())
response = s.recv(1024).decode()
print(response)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment